summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJoel Croteau <jcroteau@gmail.com>2019-03-30 14:53:48 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2019-03-30 14:53:48 (GMT)
commite653d4d8e820a7a004ad399530af0135b45db27a (patch)
tree140ff14e2dccd2daf4a7e7b28a6db743f6347c6d /Misc
parentddbb978e1065dde21d1662386b26ded359f4b16e (diff)
downloadcpython-e653d4d8e820a7a004ad399530af0135b45db27a.zip
cpython-e653d4d8e820a7a004ad399530af0135b45db27a.tar.gz
cpython-e653d4d8e820a7a004ad399530af0135b45db27a.tar.bz2
bpo-36384: Remove check for leading zeroes in IPv4 addresses (GH-12577)
Stop rejecting IPv4 octets with leading zeroes as ambiguously octal. Plenty of other tools generate decimal IPv4 octets with leading zeroes, so keeping this check hurts interoperability. Patch by Joel Croteau.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-03-27-02-09-22.bpo-36385.we2F45.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-03-27-02-09-22.bpo-36385.we2F45.rst b/Misc/NEWS.d/next/Library/2019-03-27-02-09-22.bpo-36385.we2F45.rst
new file mode 100644
index 0000000..26f6dd7
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-03-27-02-09-22.bpo-36385.we2F45.rst
@@ -0,0 +1 @@
+Stop rejecting IPv4 octets for being ambiguously octal. Leading zeros are ignored, and no longer are assumed to specify octal octets. Octets are always decimal numbers. Octets must still be no more than three digits, including leading zeroes.