[Python-checkins] [3.8] bpo-36384: [doc] Correct typos in CVE-2021-29921 fix description (GH-27825)

ambv webhook-mailer at python.org
Thu Aug 19 04:50:48 EDT 2021


https://github.com/python/cpython/commit/6ebfe8da6331bfcf54057f6e22a6f353a5621d35
commit: 6ebfe8da6331bfcf54057f6e22a6f353a5621d35
branch: 3.8
author: Łukasz Langa <lukasz at langa.pl>
committer: ambv <lukasz at langa.pl>
date: 2021-08-19T10:50:40+02:00
summary:

[3.8] bpo-36384: [doc] Correct typos in CVE-2021-29921 fix description (GH-27825)

files:
M Doc/whatsnew/3.8.rst
M Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst

diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 7a3460adb3827f..c27c968aa16302 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -2317,7 +2317,7 @@ Changes in the Python API
 Starting with Python 3.8.12 the :mod:`ipaddress` module no longer accepts
 any leading zeros in IPv4 address strings. Leading zeros are ambiguous and
 interpreted as octal notation by some libraries. For example the legacy
-function :func:`socket.inet_aton` treats leading zeros as octal notatation.
+function :func:`socket.inet_aton` treats leading zeros as octal notation.
 glibc implementation of modern :func:`~socket.inet_pton` does not accept
 any leading zeros.
 
diff --git a/Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst b/Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst
index f956cde948ec57..6e2926ce1e1746 100644
--- a/Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst
+++ b/Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst
@@ -1,6 +1,6 @@
 :mod:`ipaddress` module no longer accepts any leading zeros in IPv4 address
 strings. Leading zeros are ambiguous and interpreted as octal notation by
 some libraries. For example the legacy function :func:`socket.inet_aton`
-treats leading zeros as octal notatation. glibc implementation of modern
+treats leading zeros as octal notation. glibc implementation of modern
 :func:`~socket.inet_pton` does not accept any leading zeros. For a while
 the :mod:`ipaddress` module used to accept ambiguous leading zeros.



More information about the Python-checkins mailing list