SIGN IN SIGN UP

bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099)

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>
C
Christian Heimes committed
60ce8f0be6354ad565393ab449d8de5d713f35bc
Parent: 73766b0
Committed by GitHub <noreply@github.com> on 5/2/2021, 12:00:35 PM