Skip to content

Commit 07119dd

Browse files
committed
Python 3.8.12
1 parent 8371290 commit 07119dd

16 files changed

+135
-38
lines changed

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 8
21-
#define PY_MICRO_VERSION 11
21+
#define PY_MICRO_VERSION 12
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.8.11+"
26+
#define PY_VERSION "3.8.12"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Mon Jun 28 12:07:21 2021
2+
# Autogenerated by Sphinx on Mon Aug 30 16:25:18 2021
33
topics = {'assert': 'The "assert" statement\n'
44
'**********************\n'
55
'\n'
@@ -10071,7 +10071,7 @@
1007110071
'*start* and\n'
1007210072
' *end* are interpreted as in slice notation.\n'
1007310073
'\n'
10074-
"str.encode(encoding='utf-8', errors='strict')\n"
10074+
'str.encode(encoding="utf-8", errors="strict")\n'
1007510075
'\n'
1007610076
' Return an encoded version of the string as a bytes '
1007710077
'object. Default\n'
@@ -10518,7 +10518,7 @@
1051810518
'followed by\n'
1051910519
' the string itself.\n'
1052010520
'\n'
10521-
'str.rsplit(sep=None, maxsplit=- 1)\n'
10521+
'str.rsplit(sep=None, maxsplit=-1)\n'
1052210522
'\n'
1052310523
' Return a list of the words in the string, using *sep* '
1052410524
'as the\n'
@@ -10549,7 +10549,7 @@
1054910549
" >>> 'mississippi'.rstrip('ipz')\n"
1055010550
" 'mississ'\n"
1055110551
'\n'
10552-
'str.split(sep=None, maxsplit=- 1)\n'
10552+
'str.split(sep=None, maxsplit=-1)\n'
1055310553
'\n'
1055410554
' Return a list of the words in the string, using *sep* '
1055510555
'as the\n'
@@ -11507,7 +11507,7 @@
1150711507
' points. All the code points in the range "U+0000 - '
1150811508
'U+10FFFF"\n'
1150911509
' can be represented in a string. Python doesn’t have a '
11510-
'*char*\n'
11510+
'"char"\n'
1151111511
' type; instead, every code point in the string is '
1151211512
'represented\n'
1151311513
' as a string object with length "1". The built-in '
@@ -13291,7 +13291,7 @@
1329113291
'| | "s[i:i] = '
1329213292
'[x]") | |\n'
1329313293
'+--------------------------------+----------------------------------+-----------------------+\n'
13294-
'| "s.pop([i])" | retrieves the item at *i* '
13294+
'| "s.pop()" or "s.pop(i)" | retrieves the item at *i* '
1329513295
'and | (2) |\n'
1329613296
'| | also removes it from '
1329713297
'*s* | |\n'
@@ -13754,7 +13754,7 @@
1375413754
'| | "s[i:i] = '
1375513755
'[x]") | |\n'
1375613756
'+--------------------------------+----------------------------------+-----------------------+\n'
13757-
'| "s.pop([i])" | retrieves the item at '
13757+
'| "s.pop()" or "s.pop(i)" | retrieves the item at '
1375813758
'*i* and | (2) |\n'
1375913759
'| | also removes it from '
1376013760
'*s* | |\n'

Misc/NEWS.d/3.8.12.rst

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
.. bpo: 42278
2+
.. date: 2021-08-29-12-39-44
3+
.. nonce: jvmQz_
4+
.. release date: 2021-08-30
5+
.. section: Security
6+
7+
Replaced usage of :func:`tempfile.mktemp` with
8+
:class:`~tempfile.TemporaryDirectory` to avoid a potential race condition.
9+
10+
..
11+
12+
.. bpo: 44394
13+
.. date: 2021-06-29-02-45-53
14+
.. nonce: A220N1
15+
.. section: Security
16+
17+
Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to get the fix
18+
for the CVE-2013-0340 "Billion Laughs" vulnerability. This copy is most used
19+
on Windows and macOS.
20+
21+
..
22+
23+
.. bpo: 43124
24+
.. date: 2021-05-08-11-50-46
25+
.. nonce: 2CTM6M
26+
.. section: Security
27+
28+
Made the internal ``putcmd`` function in :mod:`smtplib` sanitize input for
29+
presence of ``\r`` and ``\n`` characters to avoid (unlikely) command
30+
injection.
31+
32+
..
33+
34+
.. bpo: 36384
35+
.. date: 2021-03-30-16-29-51
36+
.. nonce: sCAmLs
37+
.. section: Security
38+
39+
:mod:`ipaddress` module no longer accepts any leading zeros in IPv4 address
40+
strings. Leading zeros are ambiguous and interpreted as octal notation by
41+
some libraries. For example the legacy function :func:`socket.inet_aton`
42+
treats leading zeros as octal notation. glibc implementation of modern
43+
:func:`~socket.inet_pton` does not accept any leading zeros. For a while the
44+
:mod:`ipaddress` module used to accept ambiguous leading zeros.
45+
46+
..
47+
48+
.. bpo: 44872
49+
.. date: 2021-08-09-16-16-03
50+
.. nonce: OKRlhK
51+
.. section: Core and Builtins
52+
53+
Use new trashcan macros (Py_TRASHCAN_BEGIN/END) in frameobject.c instead of
54+
the old ones (Py_TRASHCAN_SAFE_BEGIN/END).
55+
56+
..
57+
58+
.. bpo: 33930
59+
.. date: 2021-08-09-14-29-52
60+
.. nonce: --5LQ-
61+
.. section: Core and Builtins
62+
63+
Fix segmentation fault with deep recursion when cleaning method objects.
64+
Patch by Augusto Goulart and Pablo Galindo.
65+
66+
..
67+
68+
.. bpo: 44856
69+
.. date: 2021-08-07-01-26-12
70+
.. nonce: 9rk3li
71+
.. section: Core and Builtins
72+
73+
Fix reference leaks in the error paths of ``update_bases()`` and
74+
``__build_class__``. Patch by Pablo Galindo.
75+
76+
..
77+
78+
.. bpo: 45001
79+
.. date: 2021-08-26-16-25-48
80+
.. nonce: tn_dKp
81+
.. section: Library
82+
83+
Made email date parsing more robust against malformed input, namely a
84+
whitespace-only ``Date:`` header. Patch by Wouter Bolsterlee.
85+
86+
..
87+
88+
.. bpo: 30511
89+
.. date: 2021-07-20-21-03-18
90+
.. nonce: eMFkRi
91+
.. section: Documentation
92+
93+
Clarify that :func:`shutil.make_archive` is not thread-safe due to reliance
94+
on changing the current working directory.
95+
96+
..
97+
98+
.. bpo: 45007
99+
.. date: 2021-08-27-23-50-02
100+
.. nonce: NIBlVG
101+
.. section: Windows
102+
103+
Update to OpenSSL 1.1.1l in Windows build
104+
105+
..
106+
107+
.. bpo: 45007
108+
.. date: 2021-08-30-00-04-10
109+
.. nonce: pixqUB
110+
.. section: macOS
111+
112+
Update macOS installer builds to use OpenSSL 1.1.1l.
113+
114+
..
115+
116+
.. bpo: 44689
117+
.. date: 2021-07-20-22-27-01
118+
.. nonce: mmT_xH
119+
.. section: macOS
120+
121+
:meth:`ctypes.util.find_library` now works correctly on macOS 11 Big Sur
122+
even if Python is built on an older version of macOS. Previously, when
123+
built on older macOS systems, ``find_library`` was not able to find macOS
124+
system libraries when running on Big Sur due to changes in how system
125+
libraries are stored.

Misc/NEWS.d/next/Core and Builtins/2021-08-07-01-26-12.bpo-44856.9rk3li.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2021-08-09-14-29-52.bpo-33930.--5LQ-.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Core and Builtins/2021-08-09-16-16-03.bpo-44872.OKRlhK.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/Documentation/2021-07-20-21-03-18.bpo-30511.eMFkRi.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Library/2021-08-26-16-25-48.bpo-45001.tn_dKp.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Security/2021-03-30-16-29-51.bpo-36384.sCAmLs.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

Misc/NEWS.d/next/Security/2021-05-08-11-50-46.bpo-43124.2CTM6M.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Security/2021-06-29-02-45-53.bpo-44394.A220N1.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

Misc/NEWS.d/next/Security/2021-08-29-12-39-44.bpo-42278.jvmQz_.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

Misc/NEWS.d/next/Windows/2021-08-27-23-50-02.bpo-45007.NIBlVG.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Misc/NEWS.d/next/macOS/2021-07-20-22-27-01.bpo-44689.mmT_xH.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

Misc/NEWS.d/next/macOS/2021-08-30-00-04-10.bpo-45007.pixqUB.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is Python version 3.8.11
1+
This is Python version 3.8.12
22
=============================
33

44
.. image:: https://travis-ci.org/python/cpython.svg?branch=3.8

0 commit comments

Comments
 (0)