File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Misc/NEWS.d/next/Security Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change
8000
@@ -2317,7 +2317,7 @@ Changes in the Python API
2317
2317
Starting with Python 3.8.12 the :mod: `ipaddress ` module no longer accepts
2318
2318
any leading zeros in IPv4 address strings. Leading zeros are ambiguous and
2319
2319
interpreted as octal notation by some libraries. For example the legacy
2320
- function :func: `socket.inet_aton ` treats leading zeros as octal notatation .
2320
+ function :func: `socket.inet_aton ` treats leading zeros as octal notation .
2321
2321
glibc implementation of modern :func: `~socket.inet_pton ` does not accept
2322
2322
any leading zeros.
2323
2323
Original file line number Diff line number Diff line change 1
1
:mod: `ipaddress ` module no longer accepts any leading zeros in IPv4 address
2
2
strings. Leading zeros are ambiguous and interpreted as octal notation by
3
3
some libraries. For example the legacy function :func: `socket.inet_aton `
4
- treats leading zeros as octal notatation . glibc implementation of modern
4
+ treats leading zeros as octal notation . glibc implementation of modern
5
5
:func: `~socket.inet_pton ` does not accept any leading zeros. For a while
6
6
the :mod: `ipaddress ` module used to accept ambiguous leading zeros.
You can’t perform that action at this time.
0 commit comments