diff options
author | Christian Heimes <christian@python.org> | 2021-05-02 12:00:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 12:00:35 (GMT) |
commit | 60ce8f0be6354ad565393ab449d8de5d713f35bc (patch) | |
tree | 131beaabf8c731503be540fdd09e66f7f2000a41 /Doc/tools/susp-ignored.csv | |
parent | 73766b0341674f3920f4ea86a6f8288b801960f9 (diff) | |
download | cpython-60ce8f0be6354ad565393ab449d8de5d713f35bc.zip cpython-60ce8f0be6354ad565393ab449d8de5d713f35bc.tar.gz cpython-60ce8f0be6354ad565393ab449d8de5d713f35bc.tar.bz2 |
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>
Diffstat (limited to 'Doc/tools/susp-ignored.csv')
-rw-r--r-- | Doc/tools/susp-ignored.csv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 5a2d85d..d56a2b9 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -149,8 +149,8 @@ library/ipaddress,,:db8,>>> ipaddress.IPv6Address('2001:db8::1000') library/ipaddress,,::,>>> ipaddress.IPv6Address('2001:db8::1000') library/ipaddress,,:db8,'2001:db8::1000' library/ipaddress,,::,'2001:db8::1000' -library/ipaddress,231,:db8,">>> f'{ipaddress.IPv6Address(""2001:db8::1000""):s}'" -library/ipaddress,231,::,">>> f'{ipaddress.IPv6Address(""2001:db8::1000""):s}'" +library/ipaddress,,:db8,">>> f'{ipaddress.IPv6Address(""2001:db8::1000""):s}'" +library/ipaddress,,::,">>> f'{ipaddress.IPv6Address(""2001:db8::1000""):s}'" library/ipaddress,,::,IPv6Address('ff02::5678%1') library/ipaddress,,::,fe80::1234 library/ipaddress,,:db8,">>> ipaddress.ip_address(""2001:db8::1"").reverse_pointer" |