[3.8] bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099) (GH-27801)
Reverts commit e653d4d8e820a7a004ad399530af0135b45db27a and makes parsing even more strict. Like socket.inet_pton() any leading zero is now treated as invalid input. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
A
achraf-mer committed
03dd89d62413c4a92831ed1b36e2ae8983bcb2d4
Parent: d7f5796
Committed by GitHub <noreply@github.com>
on 8/17/2021, 11:46:37 PM