Python 3.10.0a5
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmAZufEACgkQ/+h0BBaL 2EeK0BAAsOwjU6I7Rqg6qOIVaOmTS/WuZIvGFPb8sP6AXFrHSsjU4o93ekn+fsQe qYqrOEDwKHLDT4hLKOMohJBzX++Y4o/yUYqgg+HTeHgBV0f6zMVJcC8PuMsxzWfC /tjgUZRjgC6v7yN8KTHrslC2me1ayN9hJHMB4MKwvnTsmekWLauqaQJ7KEedfaQa lcDUf8ceu7t/riPZQFnoo6jdlt1A83pmGpLw05I/BEOiNktiow3f8fEDTQ0bkDdZ FC8RGGXoSVtwE2+O0w0j0LiHOLd6/9C4dcxtKZw0JfU6Ns8dnnJaX+gpvzKFz0MK vQQGw0eNovNFuvBq6GxCsZfwwNKPl2hjlntFXzXUIXqNeWGmfj7Bc1ZWDl7RNUjl 2XB6jTCXppAfrUPNt5OROKdhxzuAdaO6gZDtuc641ikhGk9GPlgqakmf81uZ++ow QnUhMeeJm0b2+lSQTotlq7EzlbwywOu0la9dxYFrOsgiez6e9HVpbwiFSrLySZ5t 7tvFLZH80A7ScmrQvc57fTZVt+jLsfwgPxITuz0GYbRsd7I6UzA0gvLdMIhciazt sdoKkV8NiPfk/A1IlvU/bggC1K/Vxq5MeuPNSaGY8ghe2907w2l308GajjlSOn6v wGPbc3QwiNugE1UTiqunQW6DbO7AfG54p4FCnEL9PqMatnajIVg= =SPAs -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmAaP0MACgkQ/+h0BBaL 2EdeMg//dk70PDP4yakQD2GUSg9ZG1spfA5JyYNauZwaDtHC/XbJLn4d6hbXilKR F9Xye18j14fIjRmD7swVumF+c1BP5qxAKkpAB7/hn6xcNmmuHFQnNvwRO50s49EZ Btu3mhigf+e4Nymdptw01SQGYhU5ntlHLnsP/NKYqpAihwlBhiZPwvmdgNgUm/Or d1MYG7lCcrjIRHJwu1SfJFqpmWfd79JR72HKchvukrvmg+LN3dfDQCAIznwt4G/C aZlERAMC9mFMtVKRkcimMDqOUhOrFXcKb7UMqVmIGKwSiwASl24J240aMB0aOnSl 7BmvIzFnzhtXK4yh+Jd8zyuGjgv2kiir17nRWf5KL6OWiWnNyqnNVgHC5JtkjpQs iow+7d3EwwQ/X7UEzg8njcwsY/H+BhaIZFircHQvQ7T3G8BUAzOj+LXoI5C+NI99 1rTf3KGcNIb4TjyJ/jVQiOkV+JLh54BretrplkkqCJY7h3Obir+PkDVYVd0UBJrf wegHfomHOPo9+IHRgKb3RPygSlTRHRgCbN9tc3ciZeMH+4uNS/W2KW1BxYpdezdT zUm5NakK5eksggtd3kH9gcLh+2LmjYWPP+IZ76xvBNZK3JfaCqAaC42HyY1WtLak NRUCkmY7kPr3RE04f+xMnMSkMBV5Tkugc4FuL02OMvVbnFi8gHI= =w2k/ -----END PGP SIGNATURE----- Merge tag 'v3.10.0a5' Python 3.10.0a5
This commit is contained in:
commit
8d998f140e
@ -96,7 +96,7 @@ Allocator Domains
|
|||||||
=================
|
=================
|
||||||
|
|
||||||
All allocating functions belong to one of three different "domains" (see also
|
All allocating functions belong to one of three different "domains" (see also
|
||||||
:c:type`PyMemAllocatorDomain`). These domains represent different allocation
|
:c:type:`PyMemAllocatorDomain`). These domains represent different allocation
|
||||||
strategies and are optimized for different purposes. The specific details on
|
strategies and are optimized for different purposes. The specific details on
|
||||||
how every domain allocates memory or what internal functions each domain calls
|
how every domain allocates memory or what internal functions each domain calls
|
||||||
is considered an implementation detail, but for debugging purposes a simplified
|
is considered an implementation detail, but for debugging purposes a simplified
|
||||||
|
@ -20,10 +20,10 @@
|
|||||||
#define PY_MINOR_VERSION 10
|
#define PY_MINOR_VERSION 10
|
||||||
#define PY_MICRO_VERSION 0
|
#define PY_MICRO_VERSION 0
|
||||||
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
|
||||||
#define PY_RELEASE_SERIAL 4
|
#define PY_RELEASE_SERIAL 5
|
||||||
|
|
||||||
/* Version as a string */
|
/* Version as a string */
|
||||||
#define PY_VERSION "3.10.0a4+"
|
#define PY_VERSION "3.10.0a5"
|
||||||
/*--end constants--*/
|
/*--end constants--*/
|
||||||
|
|
||||||
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Autogenerated by Sphinx on Mon Jan 4 17:25:50 2021
|
# Autogenerated by Sphinx on Tue Feb 2 20:44:10 2021
|
||||||
topics = {'assert': 'The "assert" statement\n'
|
topics = {'assert': 'The "assert" statement\n'
|
||||||
'**********************\n'
|
'**********************\n'
|
||||||
'\n'
|
'\n'
|
||||||
@ -2561,8 +2561,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
'usage\n'
|
'usage\n'
|
||||||
'patterns to be encapsulated for convenient reuse.\n'
|
'patterns to be encapsulated for convenient reuse.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n'
|
' with_stmt ::= "with" ( "(" with_stmt_contents ","? '
|
||||||
' with_item ::= expression ["as" target]\n'
|
'")" | with_stmt_contents ) ":" suite\n'
|
||||||
|
' with_stmt_contents ::= with_item ("," with_item)*\n'
|
||||||
|
' with_item ::= expression ["as" target]\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The execution of the "with" statement with one “item” proceeds '
|
'The execution of the "with" statement with one “item” proceeds '
|
||||||
'as\n'
|
'as\n'
|
||||||
@ -2654,9 +2656,23 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
' with B() as b:\n'
|
' with B() as b:\n'
|
||||||
' SUITE\n'
|
' SUITE\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
'You can also write multi-item context managers in multiple lines '
|
||||||
|
'if\n'
|
||||||
|
'the items are surrounded by parentheses. For example:\n'
|
||||||
|
'\n'
|
||||||
|
' with (\n'
|
||||||
|
' A() as a,\n'
|
||||||
|
' B() as b,\n'
|
||||||
|
' ):\n'
|
||||||
|
' SUITE\n'
|
||||||
|
'\n'
|
||||||
'Changed in version 3.1: Support for multiple context '
|
'Changed in version 3.1: Support for multiple context '
|
||||||
'expressions.\n'
|
'expressions.\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
'Changed in version 3.10: Support for using grouping parentheses '
|
||||||
|
'to\n'
|
||||||
|
'break the statement in multiple lines.\n'
|
||||||
|
'\n'
|
||||||
'See also:\n'
|
'See also:\n'
|
||||||
'\n'
|
'\n'
|
||||||
' **PEP 343** - The “with” statement\n'
|
' **PEP 343** - The “with” statement\n'
|
||||||
@ -5268,9 +5284,9 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
' | | in the form ‘+000000120’. This alignment '
|
' | | in the form ‘+000000120’. This alignment '
|
||||||
'option is only |\n'
|
'option is only |\n'
|
||||||
' | | valid for numeric types. It becomes the '
|
' | | valid for numeric types. It becomes the '
|
||||||
'default when ‘0’ |\n'
|
'default for |\n'
|
||||||
' | | immediately precedes the field '
|
' | | numbers when ‘0’ immediately precedes the '
|
||||||
'width. |\n'
|
'field width. |\n'
|
||||||
' '
|
' '
|
||||||
'+-----------+------------------------------------------------------------+\n'
|
'+-----------+------------------------------------------------------------+\n'
|
||||||
' | "\'^\'" | Forces the field to be centered within '
|
' | "\'^\'" | Forces the field to be centered within '
|
||||||
@ -5378,6 +5394,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
'with an\n'
|
'with an\n'
|
||||||
'*alignment* type of "\'=\'".\n'
|
'*alignment* type of "\'=\'".\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
'Changed in version 3.10: Preceding the *width* field by '
|
||||||
|
'"\'0\'" no\n'
|
||||||
|
'longer affects the default alignment for strings.\n'
|
||||||
|
'\n'
|
||||||
'The *precision* is a decimal number indicating how many '
|
'The *precision* is a decimal number indicating how many '
|
||||||
'digits should\n'
|
'digits should\n'
|
||||||
'be displayed after the decimal point for a floating point '
|
'be displayed after the decimal point for a floating point '
|
||||||
@ -13989,8 +14009,10 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
'usage\n'
|
'usage\n'
|
||||||
'patterns to be encapsulated for convenient reuse.\n'
|
'patterns to be encapsulated for convenient reuse.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n'
|
' with_stmt ::= "with" ( "(" with_stmt_contents ","? ")" | '
|
||||||
' with_item ::= expression ["as" target]\n'
|
'with_stmt_contents ) ":" suite\n'
|
||||||
|
' with_stmt_contents ::= with_item ("," with_item)*\n'
|
||||||
|
' with_item ::= expression ["as" target]\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The execution of the "with" statement with one “item” proceeds as\n'
|
'The execution of the "with" statement with one “item” proceeds as\n'
|
||||||
'follows:\n'
|
'follows:\n'
|
||||||
@ -14076,8 +14098,20 @@ topics = {'assert': 'The "assert" statement\n'
|
|||||||
' with B() as b:\n'
|
' with B() as b:\n'
|
||||||
' SUITE\n'
|
' SUITE\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
'You can also write multi-item context managers in multiple lines if\n'
|
||||||
|
'the items are surrounded by parentheses. For example:\n'
|
||||||
|
'\n'
|
||||||
|
' with (\n'
|
||||||
|
' A() as a,\n'
|
||||||
|
' B() as b,\n'
|
||||||
|
' ):\n'
|
||||||
|
' SUITE\n'
|
||||||
|
'\n'
|
||||||
'Changed in version 3.1: Support for multiple context expressions.\n'
|
'Changed in version 3.1: Support for multiple context expressions.\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
'Changed in version 3.10: Support for using grouping parentheses to\n'
|
||||||
|
'break the statement in multiple lines.\n'
|
||||||
|
'\n'
|
||||||
'See also:\n'
|
'See also:\n'
|
||||||
'\n'
|
'\n'
|
||||||
' **PEP 343** - The “with” statement\n'
|
' **PEP 343** - The “with” statement\n'
|
||||||
|
670
Misc/NEWS.d/3.10.0a5.rst
Normal file
670
Misc/NEWS.d/3.10.0a5.rst
Normal file
@ -0,0 +1,670 @@
|
|||||||
|
.. bpo: 42938
|
||||||
|
.. date: 2021-01-18-09-27-31
|
||||||
|
.. nonce: 4Zn4Mp
|
||||||
|
.. release date: 2021-02-02
|
||||||
|
.. section: Security
|
||||||
|
|
||||||
|
Avoid static buffers when computing the repr of :class:`ctypes.c_double` and
|
||||||
|
:class:`ctypes.c_longdouble` values.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42990
|
||||||
|
.. date: 2021-01-30-11-31-44
|
||||||
|
.. nonce: 69h_zK
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Refactor the ``PyEval_`` family of functions.
|
||||||
|
|
||||||
|
* An new function ``_PyEval_Vector`` is added to simplify calls to Python from C.
|
||||||
|
* ``_PyEval_EvalCodeWithName`` is removed
|
||||||
|
* ``PyEval_EvalCodeEx`` is retained as part of the API, but is not used internally
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 38631
|
||||||
|
.. date: 2021-01-29-17-48-44
|
||||||
|
.. nonce: jR-3kC
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Replace :c:func:`Py_FatalError` calls in the compiler with regular
|
||||||
|
:exc:`SystemError` exceptions. Patch by Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42997
|
||||||
|
.. date: 2021-01-24-20-19-55
|
||||||
|
.. nonce: QUOPgP
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Improve error message for missing ":" before blocks. Patch by Pablo Galindo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43017
|
||||||
|
.. date: 2021-01-24-18-02-05
|
||||||
|
.. nonce: emEcXX
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Improve error message in the parser when using un-parenthesised tuples in
|
||||||
|
comprehensions. Patch by Pablo Galindo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42986
|
||||||
|
.. date: 2021-01-20-23-44-15
|
||||||
|
.. nonce: sWoaGf
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix parser crash when reporting syntax errors in f-string with newlines.
|
||||||
|
Patch by Pablo Galindo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 40176
|
||||||
|
.. date: 2021-01-20-22-31-01
|
||||||
|
.. nonce: anjyWw
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Syntax errors for unterminated string literals now point to the start of the
|
||||||
|
string instead of reporting EOF/EOL.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42927
|
||||||
|
.. date: 2021-01-15-20-05-56
|
||||||
|
.. nonce: GI-l-7
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
The inline cache for ``LOAD_ATTR`` now also optimizes access to attributes
|
||||||
|
defined by ``__slots__``. This makes reading such attribute up to 30%
|
||||||
|
faster.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42864
|
||||||
|
.. date: 2021-01-14-23-15-34
|
||||||
|
.. nonce: QgOAQ1
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Improve error messages in the parser when parentheses are not closed. Patch
|
||||||
|
by Pablo Galindo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42924
|
||||||
|
.. date: 2021-01-13-14-06-01
|
||||||
|
.. nonce: _WS1Ok
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix ``bytearray`` repetition incorrectly copying data from the start of the
|
||||||
|
buffer, even if the data is offset within the buffer (e.g. after reassigning
|
||||||
|
a slice at the start of the ``bytearray`` to a shorter byte string).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42882
|
||||||
|
.. date: 2021-01-11-17-58-52
|
||||||
|
.. nonce: WfTdfg
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix the :c:func:`_PyUnicode_FromId` function (_Py_IDENTIFIER(var) API) when
|
||||||
|
:c:func:`Py_Initialize` / :c:func:`Py_Finalize` is called multiple times:
|
||||||
|
preserve ``_PyRuntime.unicode_ids.next_index`` value.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42827
|
||||||
|
.. date: 2021-01-06-17-06-37
|
||||||
|
.. nonce: jtRR0D
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fix a crash when working out the error line of a :exc:`SyntaxError` in some
|
||||||
|
multi-line expressions.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42823
|
||||||
|
.. date: 2021-01-04-18-17-07
|
||||||
|
.. nonce: dcSynu
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
frame.f_lineno is correct even if frame.f_trace is set to True
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 37324
|
||||||
|
.. date: 2020-12-12-20-09-12
|
||||||
|
.. nonce: jB-9_U
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Remove deprecated aliases to :ref:`collections-abstract-base-classes` from
|
||||||
|
the :mod:`collections` module.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41994
|
||||||
|
.. date: 2020-10-10-14-16-03
|
||||||
|
.. nonce: Xop8sV
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 27772
|
||||||
|
.. date: 2018-12-20-23-59-23
|
||||||
|
.. nonce: idHEcj
|
||||||
|
.. section: Core and Builtins
|
||||||
|
|
||||||
|
In string formatting, preceding the *width* field by ``'0'`` no longer
|
||||||
|
affects the default alignment for strings.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43108
|
||||||
|
.. date: 2021-02-02-20-23-31
|
||||||
|
.. nonce: lqcCZ6
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fixed a reference leak in the :mod:`curses` module. Patch by Pablo Galindo
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43077
|
||||||
|
.. date: 2021-01-30-15-20-06
|
||||||
|
.. nonce: Owk61z
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Update the bundled pip to 21.0.1 and setuptools to 52.0.0.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41282
|
||||||
|
.. date: 2021-01-27-20-49-32
|
||||||
|
.. nonce: SEPdV0
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Deprecate ``distutils`` in documentation and add warning on import.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43014
|
||||||
|
.. date: 2021-01-24-00-37-40
|
||||||
|
.. nonce: BVPhEr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Improve performance of :mod:`tokenize` by 20-30%. Patch by Anthony Sottile.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42323
|
||||||
|
.. date: 2021-01-20-12-10-47
|
||||||
|
.. nonce: PONB8e
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix :func:`math.nextafter` for NaN on AIX.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42955
|
||||||
|
.. date: 2021-01-18-11-59-46
|
||||||
|
.. nonce: CSWLC9
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add :data:`sys.stdlib_module_names`, containing the list of the standard
|
||||||
|
library module names. Patch by Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42944
|
||||||
|
.. date: 2021-01-18-10-41-44
|
||||||
|
.. nonce: RrONvy
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix ``random.Random.sample`` when ``counts`` argument is not ``None``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42934
|
||||||
|
.. date: 2021-01-15-11-48-00
|
||||||
|
.. nonce: ILKoOI
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Use :class:`~traceback.TracebackException`'s new ``compact`` param in
|
||||||
|
:class:`~unittest.TestResult` to reduce time and memory consumed by
|
||||||
|
traceback formatting.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42931
|
||||||
|
.. date: 2021-01-15-00-23-50
|
||||||
|
.. nonce: QD6U2B
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add :func:`randbytes` to ``random.__all__``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 38250
|
||||||
|
.. date: 2021-01-14-15-07-16
|
||||||
|
.. nonce: 1fvhOk
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
[Enum] Flags consisting of a single bit are now considered canonical, and
|
||||||
|
will be the only flags returned from listing and iterating over a Flag class
|
||||||
|
or a Flag member. Multi-bit flags are considered aliases; they will be
|
||||||
|
returned from lookups and operations that result in their value. Iteration
|
||||||
|
for both Flag and Flag members is in definition order.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42877
|
||||||
|
.. date: 2021-01-13-12-55-41
|
||||||
|
.. nonce: Fi1zEG
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Added the ``compact`` parameter to the constructor of
|
||||||
|
:class:`traceback.TracebackException` to reduce time and memory for use
|
||||||
|
cases that only need to call :func:`TracebackException.format` and
|
||||||
|
:func:`TracebackException.format_exception_only`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42923
|
||||||
|
.. date: 2021-01-13-12-15-13
|
||||||
|
.. nonce: zBiNls
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The :c:func:`Py_FatalError` function and the :mod:`faulthandler` module now
|
||||||
|
dump the list of extension modules on a fatal error.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42848
|
||||||
|
.. date: 2021-01-12-19-34-06
|
||||||
|
.. nonce: 5G8oBl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Removed recursion from :class:`~traceback.TracebackException` to allow it to
|
||||||
|
handle long exception chains.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42901
|
||||||
|
.. date: 2021-01-11-17-36-59
|
||||||
|
.. nonce: gFd-ta
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
[Enum] move member creation from ``EnumMeta.__new__`` to
|
||||||
|
``_proto_member.__set_name__``, allowing members to be created and visible
|
||||||
|
in ``__init_subclass__``.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42780
|
||||||
|
.. date: 2021-01-08-15-49-20
|
||||||
|
.. nonce: rtqi6B
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix os.set_inheritable() for O_PATH file descriptors on Linux.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42866
|
||||||
|
.. date: 2021-01-08-10-57-21
|
||||||
|
.. nonce: Y1DnrO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix a reference leak in the ``getcodec()`` function of CJK codecs. Patch by
|
||||||
|
Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42846
|
||||||
|
.. date: 2021-01-07-23-31-17
|
||||||
|
.. nonce: kukDjw
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Convert the 6 CJK codec extension modules (_codecs_cn, _codecs_hk,
|
||||||
|
_codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw) to the multiphase
|
||||||
|
initialization API (:pep:`489`). Patch by Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42851
|
||||||
|
.. date: 2021-01-07-11-44-22
|
||||||
|
.. nonce: uyQFyd
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
remove __init_subclass__ support for Enum members
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42834
|
||||||
|
.. date: 2021-01-05-23-55-24
|
||||||
|
.. nonce: LxRnZC
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make internal caches of the ``_json`` module compatible with
|
||||||
|
subinterpreters.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41748
|
||||||
|
.. date: 2021-01-05-21-26-29
|
||||||
|
.. nonce: KdC0w3
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix HTMLParser parsing rules for element attributes containing commas with
|
||||||
|
spaces. Patch by Karl Dubost.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 40810
|
||||||
|
.. date: 2021-01-05-00-52-30
|
||||||
|
.. nonce: JxQqPe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 1635741
|
||||||
|
.. date: 2021-01-04-15-05-40
|
||||||
|
.. nonce: EOCfZY
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Convert the _multibytecodec extension module (CJK codecs) to multi-phase
|
||||||
|
initialization (:pep:`489`). Patch by Erlend E. Aasland.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42802
|
||||||
|
.. date: 2021-01-01-15-29-16
|
||||||
|
.. nonce: Lw-bzl
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The distutils ``bdist_wininst`` command deprecated in Python 3.8 has been
|
||||||
|
removed. The distutils ``bidst_wheel`` command is now recommended to
|
||||||
|
distribute binary packages on Windows.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 24464
|
||||||
|
.. date: 2020-12-30-14-56-25
|
||||||
|
.. nonce: vbNVHe
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The undocumented built-in function ``sqlite3.enable_shared_cache`` is now
|
||||||
|
deprecated, scheduled for removal in Python 3.12. Its use is strongly
|
||||||
|
discouraged by the SQLite3 documentation. Patch by Erlend E. Aasland.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42384
|
||||||
|
.. date: 2020-11-17-14-32-39
|
||||||
|
.. nonce: 1ZnQSn
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Make pdb populate sys.path[0] exactly the same as regular python execution.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42383
|
||||||
|
.. date: 2020-11-17-14-30-12
|
||||||
|
.. nonce: ubl0Y_
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix pdb: previously pdb would fail to restart the debugging target if it was
|
||||||
|
specified using a relative path and the current directory changed.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42005
|
||||||
|
.. date: 2020-10-11-13-48-03
|
||||||
|
.. nonce: Jq6Az-
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Fix CLI of :mod:`cProfile` and :mod:`profile` to catch
|
||||||
|
:exc:`BrokenPipeError`.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41604
|
||||||
|
.. date: 2020-08-21-15-24-14
|
||||||
|
.. nonce: rTXleO
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Don't decrement the reference count of the previous user_ptr when
|
||||||
|
set_panel_userptr fails.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41149
|
||||||
|
.. date: 2020-06-28-16-13-02
|
||||||
|
.. nonce: jiZWtJ
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Allow executing callables that have a boolean value of ``False`` when passed
|
||||||
|
to :class:`Threading.thread` as the target. Patch contributed by Barney
|
||||||
|
Stratford.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 38307
|
||||||
|
.. date: 2020-03-16-03-03-21
|
||||||
|
.. nonce: 2cmw2i
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Add an 'end_lineno' attribute to the Class and Function objects that appear
|
||||||
|
in the tree returned by pyclbr functions. This and the existing 'lineno'
|
||||||
|
attribute define the extent of class and def statements. Patch by Aviral
|
||||||
|
Srivastava.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 39273
|
||||||
|
.. date: 2020-01-13-23-37-58
|
||||||
|
.. nonce: m5hzxV
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if
|
||||||
|
available.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 33289
|
||||||
|
.. date: 2018-04-23-13-44-10
|
||||||
|
.. nonce: anBnUr
|
||||||
|
.. section: Library
|
||||||
|
|
||||||
|
Correct call to :mod:`tkinter.colorchooser` to return RGB triplet of ints
|
||||||
|
instead of floats. Patch by Cheryl Sabella.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 40304
|
||||||
|
.. date: 2021-01-20-23-03-49
|
||||||
|
.. nonce: -LK7Ps
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Fix doc for type(name, bases, dict). Patch by Boris Verkhovskiy and Éric
|
||||||
|
Araujo.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42811
|
||||||
|
.. date: 2021-01-04-22-14-22
|
||||||
|
.. nonce: HY2beA
|
||||||
|
.. section: Documentation
|
||||||
|
|
||||||
|
Updated importlib.utils.resolve_name() doc to use __spec__.parent instead of
|
||||||
|
__package__. (Thanks Yair Frid.)
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 40823
|
||||||
|
.. date: 2020-05-30-13-39-22
|
||||||
|
.. nonce: yB7K5w
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
Use :meth:`unittest.TestLoader().loadTestsFromTestCase` instead of
|
||||||
|
:meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by Erlend E.
|
||||||
|
Aasland.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 40810
|
||||||
|
.. date: 2020-05-30-10-56-38
|
||||||
|
.. nonce: LPqDLQ
|
||||||
|
.. section: Tests
|
||||||
|
|
||||||
|
In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for SQLite pre 3.7.15.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43031
|
||||||
|
.. date: 2021-01-26-14-48-40
|
||||||
|
.. nonce: 44nK9U
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Pass ``--timeout=$(TESTTIMEOUT)`` option to the default profile task
|
||||||
|
``./python -m test --pgo`` command.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 36143
|
||||||
|
.. date: 2021-01-18-20-52-06
|
||||||
|
.. nonce: kgnIYo
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
``make regen-all`` now also runs ``regen-keyword``. Patch by Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42874
|
||||||
|
.. date: 2021-01-12-10-06-50
|
||||||
|
.. nonce: XKK61g
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Removed the grep -q and -E flags in the tzpath validation section of the
|
||||||
|
configure script to better accomodate users of some platforms (specifically
|
||||||
|
Solaris 10).
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 31904
|
||||||
|
.. date: 2021-01-11-23-26-00
|
||||||
|
.. nonce: ty8f3h
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Add library search path by wr-cc in add_cross_compiling_paths() for VxWorks.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42856
|
||||||
|
.. date: 2021-01-07-12-51-38
|
||||||
|
.. nonce: n3cMHV
|
||||||
|
.. section: Build
|
||||||
|
|
||||||
|
Add ``--with-wheel-pkg-dir=PATH`` option to the ``./configure`` script. If
|
||||||
|
specified, the :mod:`ensurepip` module looks for ``setuptools`` and ``pip``
|
||||||
|
wheel packages in this directory: if both are present, these wheel packages
|
||||||
|
are used instead of ensurepip bundled wheel packages.
|
||||||
|
|
||||||
|
Some Linux distribution packaging policies recommend against bundling
|
||||||
|
dependencies. For example, Fedora installs wheel packages in the
|
||||||
|
``/usr/share/python-wheels/`` directory and don't install the
|
||||||
|
``ensurepip._bundled`` package.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 41837
|
||||||
|
.. date: 2021-01-05-20-36-40
|
||||||
|
.. nonce: bmS7vB
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Updated Windows installer to include OpenSSL 1.1.1i
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42584
|
||||||
|
.. date: 2020-12-07-11-40-52
|
||||||
|
.. nonce: AsYnVX
|
||||||
|
.. section: Windows
|
||||||
|
|
||||||
|
Upgrade Windows installer to use SQLite 3.34.0.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42504
|
||||||
|
.. date: 2021-01-26-14-36-11
|
||||||
|
.. nonce: ZxWt71
|
||||||
|
.. section: macOS
|
||||||
|
|
||||||
|
Ensure that the value of
|
||||||
|
sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') is always a string,
|
||||||
|
even in when the value is parsable as an integer.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43008
|
||||||
|
.. date: 2021-01-26-18-12-17
|
||||||
|
.. nonce: mbQUc7
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Make IDLE invoke :func:`sys.excepthook` in normal, 2-process mode. Patch by
|
||||||
|
Ken Hilton.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 33065
|
||||||
|
.. date: 2021-01-10-01-25-43
|
||||||
|
.. nonce: zmyHYJ
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Fix problem debugging user classes with __repr__ method.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 23544
|
||||||
|
.. date: 2019-11-14-23-41-07
|
||||||
|
.. nonce: 3etemb
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Disable Debug=>Stack Viewer when user code is running or Debugger is active,
|
||||||
|
to prevent hang or crash. Patch by Zackery Spytz.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 32631
|
||||||
|
.. date: 2019-06-30-20-31-09
|
||||||
|
.. nonce: e7_4BG
|
||||||
|
.. section: IDLE
|
||||||
|
|
||||||
|
Finish zzdummy example extension module: make menu entries work; add
|
||||||
|
docstrings and tests with 100% coverage.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 42979
|
||||||
|
.. date: 2021-01-28-01-11-59
|
||||||
|
.. nonce: JrGkrm
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
When Python is built in debug mode (with C assertions), calling a type slot
|
||||||
|
like ``sq_length`` (``__len__()`` in Python) now fails with a fatal error if
|
||||||
|
the slot succeeded with an exception set, or failed with no exception set.
|
||||||
|
The error message contains the slot, the type name, and the current
|
||||||
|
exception (if an exception is set). Patch by Victor Stinner.
|
||||||
|
|
||||||
|
..
|
||||||
|
|
||||||
|
.. bpo: 43030
|
||||||
|
.. date: 2021-01-27-10-27-47
|
||||||
|
.. nonce: loDcD_
|
||||||
|
.. section: C API
|
||||||
|
|
||||||
|
Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` on platforms with
|
||||||
|
signed ``wchar_t``.
|
@ -1,9 +0,0 @@
|
|||||||
Add ``--with-wheel-pkg-dir=PATH`` option to the ``./configure`` script. If
|
|
||||||
specified, the :mod:`ensurepip` module looks for ``setuptools`` and ``pip``
|
|
||||||
wheel packages in this directory: if both are present, these wheel packages are
|
|
||||||
used instead of ensurepip bundled wheel packages.
|
|
||||||
|
|
||||||
Some Linux distribution packaging policies recommend against bundling
|
|
||||||
dependencies. For example, Fedora installs wheel packages in the
|
|
||||||
``/usr/share/python-wheels/`` directory and don't install the
|
|
||||||
``ensurepip._bundled`` package.
|
|
@ -1 +0,0 @@
|
|||||||
Add library search path by wr-cc in add_cross_compiling_paths() for VxWorks.
|
|
@ -1,3 +0,0 @@
|
|||||||
Removed the grep -q and -E flags in the tzpath validation section of the
|
|
||||||
configure script to better accomodate users of some platforms (specifically
|
|
||||||
Solaris 10).
|
|
@ -1 +0,0 @@
|
|||||||
``make regen-all`` now also runs ``regen-keyword``. Patch by Victor Stinner.
|
|
@ -1,2 +0,0 @@
|
|||||||
Pass ``--timeout=$(TESTTIMEOUT)`` option to the default profile task
|
|
||||||
``./python -m test --pgo`` command.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` on platforms with
|
|
||||||
signed ``wchar_t``.
|
|
@ -1,5 +0,0 @@
|
|||||||
When Python is built in debug mode (with C assertions), calling a type slot
|
|
||||||
like ``sq_length`` (``__len__()`` in Python) now fails with a fatal error if
|
|
||||||
the slot succeeded with an exception set, or failed with no exception set. The
|
|
||||||
error message contains the slot, the type name, and the current exception (if
|
|
||||||
an exception is set). Patch by Victor Stinner.
|
|
@ -1,2 +0,0 @@
|
|||||||
In string formatting, preceding the *width* field by ``'0'`` no longer
|
|
||||||
affects the default alignment for strings.
|
|
@ -1 +0,0 @@
|
|||||||
Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``.
|
|
@ -1,2 +0,0 @@
|
|||||||
Remove deprecated aliases to :ref:`collections-abstract-base-classes` from
|
|
||||||
the :mod:`collections` module.
|
|
@ -1 +0,0 @@
|
|||||||
frame.f_lineno is correct even if frame.f_trace is set to True
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix a crash when working out the error line of a :exc:`SyntaxError` in some
|
|
||||||
multi-line expressions.
|
|
@ -1,3 +0,0 @@
|
|||||||
Fix the :c:func:`_PyUnicode_FromId` function (_Py_IDENTIFIER(var) API) when
|
|
||||||
:c:func:`Py_Initialize` / :c:func:`Py_Finalize` is called multiple times:
|
|
||||||
preserve ``_PyRuntime.unicode_ids.next_index`` value.
|
|
@ -1 +0,0 @@
|
|||||||
Fix ``bytearray`` repetition incorrectly copying data from the start of the buffer, even if the data is offset within the buffer (e.g. after reassigning a slice at the start of the ``bytearray`` to a shorter byte string).
|
|
@ -1,2 +0,0 @@
|
|||||||
Improve error messages in the parser when parentheses are not closed. Patch
|
|
||||||
by Pablo Galindo.
|
|
@ -1,2 +0,0 @@
|
|||||||
The inline cache for ``LOAD_ATTR`` now also optimizes access to attributes defined by ``__slots__``.
|
|
||||||
This makes reading such attribute up to 30% faster.
|
|
@ -1,2 +0,0 @@
|
|||||||
Syntax errors for unterminated string literals now point to the start
|
|
||||||
of the string instead of reporting EOF/EOL.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix parser crash when reporting syntax errors in f-string with newlines.
|
|
||||||
Patch by Pablo Galindo.
|
|
@ -1,2 +0,0 @@
|
|||||||
Improve error message in the parser when using un-parenthesised tuples in
|
|
||||||
comprehensions. Patch by Pablo Galindo.
|
|
@ -1 +0,0 @@
|
|||||||
Improve error message for missing ":" before blocks. Patch by Pablo Galindo.
|
|
@ -1,2 +0,0 @@
|
|||||||
Replace :c:func:`Py_FatalError` calls in the compiler with regular
|
|
||||||
:exc:`SystemError` exceptions. Patch by Victor Stinner.
|
|
@ -1,5 +0,0 @@
|
|||||||
Refactor the ``PyEval_`` family of functions.
|
|
||||||
|
|
||||||
* An new function ``_PyEval_Vector`` is added to simplify calls to Python from C.
|
|
||||||
* ``_PyEval_EvalCodeWithName`` is removed
|
|
||||||
* ``PyEval_EvalCodeEx`` is retained as part of the API, but is not used internally
|
|
@ -1,2 +0,0 @@
|
|||||||
Updated importlib.utils.resolve_name() doc to use __spec__.parent
|
|
||||||
instead of __package__. (Thanks Yair Frid.)
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix doc for type(name, bases, dict). Patch by Boris Verkhovskiy and
|
|
||||||
Éric Araujo.
|
|
@ -1,2 +0,0 @@
|
|||||||
Finish zzdummy example extension module: make menu entries work;
|
|
||||||
add docstrings and tests with 100% coverage.
|
|
@ -1,2 +0,0 @@
|
|||||||
Disable Debug=>Stack Viewer when user code is running or Debugger
|
|
||||||
is active, to prevent hang or crash. Patch by Zackery Spytz.
|
|
@ -1 +0,0 @@
|
|||||||
Fix problem debugging user classes with __repr__ method.
|
|
@ -1,2 +0,0 @@
|
|||||||
Make IDLE invoke :func:`sys.excepthook` in normal, 2-process mode.
|
|
||||||
Patch by Ken Hilton.
|
|
@ -1,2 +0,0 @@
|
|||||||
Correct call to :mod:`tkinter.colorchooser` to return RGB triplet of ints
|
|
||||||
instead of floats. Patch by Cheryl Sabella.
|
|
@ -1,2 +0,0 @@
|
|||||||
The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if
|
|
||||||
available.
|
|
@ -1,3 +0,0 @@
|
|||||||
Add an 'end_lineno' attribute to the Class and Function objects that appear in the
|
|
||||||
tree returned by pyclbr functions. This and the existing 'lineno'
|
|
||||||
attribute define the extent of class and def statements. Patch by Aviral Srivastava.
|
|
@ -1 +0,0 @@
|
|||||||
Allow executing callables that have a boolean value of ``False`` when passed to :class:`Threading.thread` as the target. Patch contributed by Barney Stratford.
|
|
@ -1,2 +0,0 @@
|
|||||||
Don't decrement the reference count of the previous user_ptr when
|
|
||||||
set_panel_userptr fails.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix CLI of :mod:`cProfile` and :mod:`profile` to catch
|
|
||||||
:exc:`BrokenPipeError`.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix pdb: previously pdb would fail to restart the debugging target if it was
|
|
||||||
specified using a relative path and the current directory changed.
|
|
@ -1 +0,0 @@
|
|||||||
Make pdb populate sys.path[0] exactly the same as regular python execution.
|
|
@ -1,3 +0,0 @@
|
|||||||
The undocumented built-in function ``sqlite3.enable_shared_cache`` is now
|
|
||||||
deprecated, scheduled for removal in Python 3.12. Its use is strongly
|
|
||||||
discouraged by the SQLite3 documentation. Patch by Erlend E. Aasland.
|
|
@ -1,3 +0,0 @@
|
|||||||
The distutils ``bdist_wininst`` command deprecated in Python 3.8 has been
|
|
||||||
removed. The distutils ``bidst_wheel`` command is now recommended to
|
|
||||||
distribute binary packages on Windows.
|
|
@ -1,2 +0,0 @@
|
|||||||
Convert the _multibytecodec extension module (CJK codecs) to multi-phase
|
|
||||||
initialization (:pep:`489`). Patch by Erlend E. Aasland.
|
|
@ -1 +0,0 @@
|
|||||||
Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix HTMLParser parsing rules for element attributes containing
|
|
||||||
commas with spaces. Patch by Karl Dubost.
|
|
@ -1 +0,0 @@
|
|||||||
Make internal caches of the ``_json`` module compatible with subinterpreters.
|
|
@ -1 +0,0 @@
|
|||||||
remove __init_subclass__ support for Enum members
|
|
@ -1,3 +0,0 @@
|
|||||||
Convert the 6 CJK codec extension modules (_codecs_cn, _codecs_hk,
|
|
||||||
_codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw) to the multiphase
|
|
||||||
initialization API (:pep:`489`). Patch by Victor Stinner.
|
|
@ -1,2 +0,0 @@
|
|||||||
Fix a reference leak in the ``getcodec()`` function of CJK codecs. Patch by
|
|
||||||
Victor Stinner.
|
|
@ -1 +0,0 @@
|
|||||||
Fix os.set_inheritable() for O_PATH file descriptors on Linux.
|
|
@ -1,3 +0,0 @@
|
|||||||
[Enum] move member creation from ``EnumMeta.__new__`` to
|
|
||||||
``_proto_member.__set_name__``, allowing members to be created and visible
|
|
||||||
in ``__init_subclass__``.
|
|
@ -1 +0,0 @@
|
|||||||
Removed recursion from :class:`~traceback.TracebackException` to allow it to handle long exception chains.
|
|
@ -1,2 +0,0 @@
|
|||||||
The :c:func:`Py_FatalError` function and the :mod:`faulthandler` module now
|
|
||||||
dump the list of extension modules on a fatal error.
|
|
@ -1,4 +0,0 @@
|
|||||||
Added the ``compact`` parameter to the constructor of
|
|
||||||
:class:`traceback.TracebackException` to reduce time and memory
|
|
||||||
for use cases that only need to call :func:`TracebackException.format`
|
|
||||||
and :func:`TracebackException.format_exception_only`.
|
|
@ -1,5 +0,0 @@
|
|||||||
[Enum] Flags consisting of a single bit are now considered canonical, and
|
|
||||||
will be the only flags returned from listing and iterating over a Flag class
|
|
||||||
or a Flag member. Multi-bit flags are considered aliases; they will be
|
|
||||||
returned from lookups and operations that result in their value.
|
|
||||||
Iteration for both Flag and Flag members is in definition order.
|
|
@ -1 +0,0 @@
|
|||||||
Add :func:`randbytes` to ``random.__all__``.
|
|
@ -1,3 +0,0 @@
|
|||||||
Use :class:`~traceback.TracebackException`'s new ``compact`` param in
|
|
||||||
:class:`~unittest.TestResult` to reduce time and memory consumed by
|
|
||||||
traceback formatting.
|
|
@ -1 +0,0 @@
|
|||||||
Fix ``random.Random.sample`` when ``counts`` argument is not ``None``.
|
|
@ -1,2 +0,0 @@
|
|||||||
Add :data:`sys.stdlib_module_names`, containing the list of the standard library
|
|
||||||
module names. Patch by Victor Stinner.
|
|
@ -1 +0,0 @@
|
|||||||
Fix :func:`math.nextafter` for NaN on AIX.
|
|
@ -1 +0,0 @@
|
|||||||
Improve performance of :mod:`tokenize` by 20-30%. Patch by Anthony Sottile.
|
|
@ -1 +0,0 @@
|
|||||||
Deprecate ``distutils`` in documentation and add warning on import.
|
|
@ -1 +0,0 @@
|
|||||||
Update the bundled pip to 21.0.1 and setuptools to 52.0.0.
|
|
@ -1 +0,0 @@
|
|||||||
Fixed a reference leak in the :mod:`curses` module. Patch by Pablo Galindo
|
|
@ -1,2 +0,0 @@
|
|||||||
Avoid static buffers when computing the repr of :class:`ctypes.c_double` and
|
|
||||||
:class:`ctypes.c_longdouble` values.
|
|
@ -1 +0,0 @@
|
|||||||
In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for SQLite pre 3.7.15.
|
|
@ -1,2 +0,0 @@
|
|||||||
Use :meth:`unittest.TestLoader().loadTestsFromTestCase` instead of
|
|
||||||
:meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by Erlend E. Aasland.
|
|
@ -1 +0,0 @@
|
|||||||
Upgrade Windows installer to use SQLite 3.34.0.
|
|
@ -1 +0,0 @@
|
|||||||
Updated Windows installer to include OpenSSL 1.1.1i
|
|
@ -1,3 +0,0 @@
|
|||||||
Ensure that the value of
|
|
||||||
sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') is always a string,
|
|
||||||
even in when the value is parsable as an integer.
|
|
@ -1,4 +1,4 @@
|
|||||||
This is Python version 3.10.0 alpha 4
|
This is Python version 3.10.0 alpha 5
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
.. image:: https://travis-ci.com/python/cpython.svg?branch=master
|
.. image:: https://travis-ci.com/python/cpython.svg?branch=master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user