mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Python 3.11.0a2
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmGFgCUACgkQ/+h0BBaL 2EcwMxAAgBfI1OCNvTZIg7jyHO4F6VGqJr3vr+QtSIAxLFctX70S77QR3uNs4WOR 4MdwI1Lv38uCmkhJt9YO7ydgiBmodf9g8SZk7+Abqg1aHLlj+803nSEsBqOTRnqp HIN0QsK8VErno73zOHoyc36Q2zGX7nZetnrUtYQklcdSncSsnmqQW5hAd+9Xew61 bu/Ks5lGOjIEv3ITBomYhZXJjB49N99FYauV3MfuP9Z24L+oNBtsROp4kecFOLCR x5Zb2St1rvtysYqard8eXnDWYG+P/zEehAVRrbNmWXldgpG7bUBacxKJiwWHRh9F lqle4QdUvmAf5o81xptEfIYznivOge6TDCT+w2UBm3cxjnUV4Bcuh95LNEZHmRAs Srr0EZZdtk9xEMkvKzMzKmSmMmIXow95ncAbSc3xqWmQxK5yNfP7eD9s+yxeq+TA WDINVI4YZMddRkNvVk0lUGz3uepZY68RAUhO7FB0eAAGdjoqW1fVi0ZvahMYmp0z RscNZaCbGSro+jIkDtxUoLBOCIqZ1eXRGMb93pTX+0qILymRFPSxnRvrFK8llNbt fRY19GBOnby5SDthUSp5mkToFCTrPBMAPnYMnBWVy/XsfTrXdUHPhUz0hcaQq2HA mXEun6ByObwG2z9atHPxq5U8m63862EoUxc6s7xU3nDE4iBpLOk= =6z/H -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmGFojsACgkQ/+h0BBaL 2EcEYw/9EQjyblmpy7d3bJPcy98epQZVdt99W+9XN62D1oVd+vgsMWTQiAdind6i Y5IpjKWVG5nqhOlChBSMcNtRD4Z1o8BOpaV72l0svAN8tGk+JxRfO3jkf7QlIsQR DCyBbuqEiytmHTDOGXebul1zFZAaeKy0VnawDPF6+KT8xL6ZTkieqCWW1NUlChSc xdAW7ae9JZOT+vWFCXX5eN8eFZl3s6qWiHmVPRJVZT+nED+7EzU8UsGONtDkeFTx qqc+5e9pNaTuqfZGL533MFE1Ck6IDhqWUTKDQ6+Nvnn0zK5NnuKKZdnbXEZJSxSM wXYNpf60pKu0cKvJBwqxVFiwSOc8aQM3jZZ0xvo0HjN98wJzV0Mj4MJ+fbVPNQv1 vwd53CHnYEzeK8gVn2hvtWfAwADrGx9EFS1zH8vNSsEkqjnOhjyx+GXjrJvroKSc swlnW1Yj+HEVbg2alFunsfO0z2pmFMLk7RjyV0W9tc1KeqnGMRcNWPc03BxkNuFa FZ95I1scwsv+5pDpBpgFC0v3ikcvPi/l5I+BQ/i6y4aypUc0w948mQ0E3UniiSs7 KX1CigSgq1rScwd4GED4AMYnco9EUNS5xF+PA6LIVlLLMGm9bu/P1dBECVIeouAQ isITcZqyRcfti1Lb4GUbAf2HfPEqP4vp0eRCHa5WR6EsEHbgVME= =DZFj -----END PGP SIGNATURE----- Merge tag 'v3.11.0a2' Python 3.11.0a2
This commit is contained in:
commit
0b8c3f160f
128 changed files with 1396 additions and 372 deletions
|
@ -20,10 +20,10 @@
|
||||||
#define PY_MINOR_VERSION 11
|
#define PY_MINOR_VERSION 11
|
||||||
#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 1
|
#define PY_RELEASE_SERIAL 2
|
||||||
|
|
||||||
/* Version as a string */
|
/* Version as a string */
|
||||||
#define PY_VERSION "3.11.0a1+"
|
#define PY_VERSION "3.11.0a2"
|
||||||
/*--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 Tue Oct 5 13:43:52 2021
|
# Autogenerated by Sphinx on Fri Nov 5 19:03:45 2021
|
||||||
topics = {'assert': 'The "assert" statement\n'
|
topics = {'assert': 'The "assert" statement\n'
|
||||||
'**********************\n'
|
'**********************\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -3339,9 +3339,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The same keyword should not be repeated in class patterns.\n'
|
'The same keyword should not be repeated in class patterns.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The following is the logical flow for matching a mapping '
|
'The following is the logical flow for matching a class pattern '
|
||||||
'pattern\n'
|
'against\n'
|
||||||
'against a subject value:\n'
|
'a subject value:\n'
|
||||||
'\n'
|
'\n'
|
||||||
'1. If "name_or_attr" is not an instance of the builtin "type" , '
|
'1. If "name_or_attr" is not an instance of the builtin "type" , '
|
||||||
'raise\n'
|
'raise\n'
|
||||||
|
@ -5579,9 +5579,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'operations.\n'
|
'operations.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'If the "global" statement occurs within a block, all uses of '
|
'If the "global" statement occurs within a block, all uses of '
|
||||||
'the name\n'
|
'the names\n'
|
||||||
'specified in the statement refer to the binding of that name in '
|
'specified in the statement refer to the bindings of those names '
|
||||||
'the\n'
|
'in the\n'
|
||||||
'top-level namespace. Names are resolved in the top-level '
|
'top-level namespace. Names are resolved in the top-level '
|
||||||
'namespace by\n'
|
'namespace by\n'
|
||||||
'searching the global namespace, i.e. the namespace of the '
|
'searching the global namespace, i.e. the namespace of the '
|
||||||
|
@ -5590,9 +5590,10 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'namespace\n'
|
'namespace\n'
|
||||||
'of the module "builtins". The global namespace is searched '
|
'of the module "builtins". The global namespace is searched '
|
||||||
'first. If\n'
|
'first. If\n'
|
||||||
'the name is not found there, the builtins namespace is '
|
'the names are not found there, the builtins namespace is '
|
||||||
'searched. The\n'
|
'searched.\n'
|
||||||
'"global" statement must precede all uses of the name.\n'
|
'The "global" statement must precede all uses of the listed '
|
||||||
|
'names.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The "global" statement has the same scope as a name binding '
|
'The "global" statement has the same scope as a name binding '
|
||||||
'operation\n'
|
'operation\n'
|
||||||
|
@ -6948,22 +6949,31 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'trailing underscore characters:\n'
|
'trailing underscore characters:\n'
|
||||||
'\n'
|
'\n'
|
||||||
'"_*"\n'
|
'"_*"\n'
|
||||||
' Not imported by "from module import *". The special '
|
' Not imported by "from module import *".\n'
|
||||||
'identifier "_"\n'
|
'\n'
|
||||||
' is used in the interactive interpreter to store the result '
|
'"_"\n'
|
||||||
'of the\n'
|
' In a "case" pattern within a "match" statement, "_" is a '
|
||||||
' last evaluation; it is stored in the "builtins" module. '
|
'soft\n'
|
||||||
'When not\n'
|
' keyword that denotes a wildcard.\n'
|
||||||
' in interactive mode, "_" has no special meaning and is not '
|
'\n'
|
||||||
'defined.\n'
|
' Separately, the interactive interpreter makes the result of '
|
||||||
' See section The import statement.\n'
|
'the\n'
|
||||||
|
' last evaluation available in the variable "_". (It is '
|
||||||
|
'stored in the\n'
|
||||||
|
' "builtins" module, alongside built-in functions like '
|
||||||
|
'"print".)\n'
|
||||||
|
'\n'
|
||||||
|
' Elsewhere, "_" is a regular identifier. It is often used to '
|
||||||
|
'name\n'
|
||||||
|
' “special” items, but it is not special to Python itself.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Note:\n'
|
' Note:\n'
|
||||||
'\n'
|
'\n'
|
||||||
' The name "_" is often used in conjunction with\n'
|
' The name "_" is often used in conjunction with\n'
|
||||||
' internationalization; refer to the documentation for the\n'
|
' internationalization; refer to the documentation for the\n'
|
||||||
' "gettext" module for more information on this '
|
' "gettext" module for more information on this '
|
||||||
'convention.\n'
|
'convention.It is\n'
|
||||||
|
' also commonly used for unused variables.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'"__*__"\n'
|
'"__*__"\n'
|
||||||
' System-defined names, informally known as “dunder” names. '
|
' System-defined names, informally known as “dunder” names. '
|
||||||
|
@ -7118,15 +7128,23 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'trailing underscore characters:\n'
|
'trailing underscore characters:\n'
|
||||||
'\n'
|
'\n'
|
||||||
'"_*"\n'
|
'"_*"\n'
|
||||||
' Not imported by "from module import *". The special '
|
' Not imported by "from module import *".\n'
|
||||||
'identifier "_"\n'
|
'\n'
|
||||||
' is used in the interactive interpreter to store the result '
|
'"_"\n'
|
||||||
|
' In a "case" pattern within a "match" statement, "_" is a '
|
||||||
|
'soft\n'
|
||||||
|
' keyword that denotes a wildcard.\n'
|
||||||
|
'\n'
|
||||||
|
' Separately, the interactive interpreter makes the result '
|
||||||
'of the\n'
|
'of the\n'
|
||||||
' last evaluation; it is stored in the "builtins" module. '
|
' last evaluation available in the variable "_". (It is '
|
||||||
'When not\n'
|
'stored in the\n'
|
||||||
' in interactive mode, "_" has no special meaning and is not '
|
' "builtins" module, alongside built-in functions like '
|
||||||
'defined.\n'
|
'"print".)\n'
|
||||||
' See section The import statement.\n'
|
'\n'
|
||||||
|
' Elsewhere, "_" is a regular identifier. It is often used '
|
||||||
|
'to name\n'
|
||||||
|
' “special” items, but it is not special to Python itself.\n'
|
||||||
'\n'
|
'\n'
|
||||||
' Note:\n'
|
' Note:\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -7134,7 +7152,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
' internationalization; refer to the documentation for '
|
' internationalization; refer to the documentation for '
|
||||||
'the\n'
|
'the\n'
|
||||||
' "gettext" module for more information on this '
|
' "gettext" module for more information on this '
|
||||||
'convention.\n'
|
'convention.It is\n'
|
||||||
|
' also commonly used for unused variables.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'"__*__"\n'
|
'"__*__"\n'
|
||||||
' System-defined names, informally known as “dunder” names. '
|
' System-defined names, informally known as “dunder” names. '
|
||||||
|
@ -7678,8 +7697,8 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'operations.\n'
|
'operations.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'If the "global" statement occurs within a block, all uses of the '
|
'If the "global" statement occurs within a block, all uses of the '
|
||||||
'name\n'
|
'names\n'
|
||||||
'specified in the statement refer to the binding of that name in '
|
'specified in the statement refer to the bindings of those names in '
|
||||||
'the\n'
|
'the\n'
|
||||||
'top-level namespace. Names are resolved in the top-level '
|
'top-level namespace. Names are resolved in the top-level '
|
||||||
'namespace by\n'
|
'namespace by\n'
|
||||||
|
@ -7688,9 +7707,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
'namespace\n'
|
'namespace\n'
|
||||||
'of the module "builtins". The global namespace is searched '
|
'of the module "builtins". The global namespace is searched '
|
||||||
'first. If\n'
|
'first. If\n'
|
||||||
'the name is not found there, the builtins namespace is searched. '
|
'the names are not found there, the builtins namespace is '
|
||||||
'The\n'
|
'searched.\n'
|
||||||
'"global" statement must precede all uses of the name.\n'
|
'The "global" statement must precede all uses of the listed names.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'The "global" statement has the same scope as a name binding '
|
'The "global" statement has the same scope as a name binding '
|
||||||
'operation\n'
|
'operation\n'
|
||||||
|
@ -8025,9 +8044,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
' of the object truncated to an "Integral" (typically an '
|
' of the object truncated to an "Integral" (typically an '
|
||||||
'"int").\n'
|
'"int").\n'
|
||||||
'\n'
|
'\n'
|
||||||
' If "__int__()" is not defined then the built-in function '
|
' The built-in function "int()" falls back to '
|
||||||
'"int()"\n'
|
'"__trunc__()" if\n'
|
||||||
' falls back to "__trunc__()".\n',
|
' neither "__int__()" nor "__index__()" is defined.\n',
|
||||||
'objects': 'Objects, values and types\n'
|
'objects': 'Objects, values and types\n'
|
||||||
'*************************\n'
|
'*************************\n'
|
||||||
'\n'
|
'\n'
|
||||||
|
@ -10765,9 +10784,9 @@ topics = {'assert': 'The "assert" statement\n'
|
||||||
' of the object truncated to an "Integral" (typically an '
|
' of the object truncated to an "Integral" (typically an '
|
||||||
'"int").\n'
|
'"int").\n'
|
||||||
'\n'
|
'\n'
|
||||||
' If "__int__()" is not defined then the built-in function '
|
' The built-in function "int()" falls back to "__trunc__()" '
|
||||||
'"int()"\n'
|
'if\n'
|
||||||
' falls back to "__trunc__()".\n'
|
' neither "__int__()" nor "__index__()" is defined.\n'
|
||||||
'\n'
|
'\n'
|
||||||
'\n'
|
'\n'
|
||||||
'With Statement Context Managers\n'
|
'With Statement Context Managers\n'
|
||||||
|
|
1334
Misc/NEWS.d/3.11.0a2.rst
Normal file
1334
Misc/NEWS.d/3.11.0a2.rst
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
||||||
Avoid linking libpython with libcrypt.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Prevent ``internal configure error`` when running ``configure``
|
|
||||||
with recent versions of non-Apple clang. Patch by David Bohman.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Building Python now requires a C99 ``<math.h>`` header file providing
|
|
||||||
the following functions: ``copysign()``, ``hypot()``, ``isfinite()``,
|
|
||||||
``isinf()``, ``isnan()``, ``round()``.
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fixed regression in handling of ``LDFLAGS`` and ``CPPFLAGS`` options
|
|
||||||
where :meth:`argparse.parse_known_args` could interpret an option as
|
|
||||||
one of the built-in command line argument, for example ``-h`` for help.
|
|
|
@ -1,3 +0,0 @@
|
||||||
The ``configure`` script now checks whether OpenSSL headers and libraries
|
|
||||||
provide required APIs. Most common APIs are verified. The check detects
|
|
||||||
outdated or missing OpenSSL. Failures do not stop configure.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Update :data:`sys.version` to use ``main`` as fallback information.
|
|
||||||
Patch by Jeong YunWon.
|
|
|
@ -1 +0,0 @@
|
||||||
Fill in missing entries in Modules/Setup.
|
|
|
@ -1,2 +0,0 @@
|
||||||
``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. Instead every
|
|
||||||
module, that uses the internal API, defines the macro.
|
|
|
@ -1 +0,0 @@
|
||||||
:mod:`pyexpat` and :mod:`_elementtree` no longer define obsolete macros ``HAVE_EXPAT_CONFIG_H`` and ``USE_PYEXPAT_CAPI``. ``XML_POOR_ENTROPY`` is now defined in ``expat_config.h``.
|
|
|
@ -1,2 +0,0 @@
|
||||||
``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of ``PY_CFLAGS`` to
|
|
||||||
compile shared modules.
|
|
|
@ -1,2 +0,0 @@
|
||||||
``setup.py`` and ``makesetup`` now track build dependencies on all Python
|
|
||||||
header files and module specific header files.
|
|
|
@ -1,3 +0,0 @@
|
||||||
The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible
|
|
||||||
``libm`` and no longer ship with workarounds for missing acosh, asinh, atanh,
|
|
||||||
expm1, and log1p functions.
|
|
|
@ -1,4 +0,0 @@
|
||||||
``Modules/Setup`` and ``Modules/makesetup`` have been improved. The
|
|
||||||
``Setup`` file now contains working rules for all extensions. Outdated
|
|
||||||
comments have been removed. Rules defined by ``makesetup`` track
|
|
||||||
dependencies correctly.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c``
|
|
|
@ -1,2 +0,0 @@
|
||||||
``setup.py`` now uses values from configure script to build the ``_uuid``
|
|
||||||
extension module. Configure now detects util-linux's ``libuuid``, too.
|
|
|
@ -1 +0,0 @@
|
||||||
:c:var:`PyStructSequence_UnnamedField` is added to the Stable ABI.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Add new :c:func:`PyThreadState_EnterTracing`, and
|
|
||||||
:c:func:`PyThreadState_LeaveTracing` functions to the limited C API to suspend
|
|
||||||
and resume tracing and profiling.
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Custom frozen modules (the array set to ``PyImport_FrozenModules``) are now
|
|
||||||
treated as additions, rather than replacing all the default frozen modules.
|
|
||||||
Frozen stdlib modules can still be disabled by setting the "code" field of
|
|
||||||
the custom array entry to NULL.
|
|
|
@ -1,9 +0,0 @@
|
||||||
Remove the following math macros using the ``errno`` variable:
|
|
||||||
|
|
||||||
* ``Py_ADJUST_ERANGE1()``
|
|
||||||
* ``Py_ADJUST_ERANGE2()``
|
|
||||||
* ``Py_OVERFLOWED()``
|
|
||||||
* ``Py_SET_ERANGE_IF_OVERFLOW()``
|
|
||||||
* ``Py_SET_ERRNO_ON_MATH_ERROR()``
|
|
||||||
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` macros, deprecated
|
|
||||||
since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or ``memcpy()``
|
|
||||||
(``wchar_t*`` string), and ``PyUnicode_Fill()`` functions instead. Patch by
|
|
||||||
Victor Stinner.
|
|
|
@ -1,5 +0,0 @@
|
||||||
``<Python.h>`` no longer includes the header files ``<stdlib.h>``,
|
|
||||||
``<stdio.h>``, ``<errno.h>`` and ``<string.h>`` when the ``Py_LIMITED_API``
|
|
||||||
macro is set to ``0x030b0000`` (Python 3.11) or higher. C extensions should
|
|
||||||
explicitly include the header files after ``#include <Python.h>``.
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the ``Py_IS_INFINITY()``
|
|
||||||
macro. Patch by Victor Stinner.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Remove the ``pystrhex.h`` header file. It only contains private functions. C
|
|
||||||
extensions should only include the main ``<Python.h>`` header file. Patch by
|
|
||||||
Victor Stinner.
|
|
|
@ -1,11 +0,0 @@
|
||||||
The following items are no longer available when ``Py_LIMITED_API`` is defined:
|
|
||||||
|
|
||||||
* :c:func:`PyMarshal_WriteLongToFile`
|
|
||||||
* :c:func:`PyMarshal_WriteObjectToFile`
|
|
||||||
* :c:func:`PyMarshal_ReadObjectFromString`
|
|
||||||
* :c:func:`PyMarshal_WriteObjectToString`
|
|
||||||
* the ``Py_MARSHAL_VERSION`` macro
|
|
||||||
|
|
||||||
These are not part of the :ref:`limited API <stable-abi-list>`.
|
|
||||||
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,7 +0,0 @@
|
||||||
The non-limited API files ``cellobject.h``, ``classobject.h``, ``context.h``,
|
|
||||||
``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` have been moved to
|
|
||||||
the ``Include/cpython`` directory. Moreover, the ``eval.h`` header file was
|
|
||||||
removed. These files must not be included directly, as they are already
|
|
||||||
included in ``Python.h``: :ref:`Include Files <api-includes>`. If they have
|
|
||||||
been included directly, consider including ``Python.h`` instead.
|
|
||||||
Patch by Victor Stinner.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Move the ``interpreteridobject.h`` header file from ``Include/`` to
|
|
||||||
``Include/internal/``. It only provides private functions. Patch by Victor
|
|
||||||
Stinner.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C API. It never
|
|
||||||
worked since the :c:type:`PyWeakReference` structure is opaque in the
|
|
||||||
limited C API.
|
|
|
@ -1,2 +0,0 @@
|
||||||
The internal freelists for frame, float, list, dict, async generators, and
|
|
||||||
context objects can now be disabled.
|
|
|
@ -1,3 +0,0 @@
|
||||||
:c:func:`PyType_FromSpec* <PyType_FromModuleAndSpec>` now copies the class name
|
|
||||||
from the spec to a buffer owned by the class, so the original can be safely
|
|
||||||
deallocated. Patch by Petr Viktorin.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Speed up calls to ``enumerate()`` by using the :pep:`590` ``vectorcall``
|
|
||||||
calling convention. Patch by Dong-hee Na.
|
|
|
@ -1 +0,0 @@
|
||||||
Improve the generated bytecode for class and mapping patterns.
|
|
|
@ -1,10 +0,0 @@
|
||||||
Setup initial specialization infrastructure for the ``CALL_FUNCTION`` opcode.
|
|
||||||
Implemented initial specializations for C function calls:
|
|
||||||
|
|
||||||
* ``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag.
|
|
||||||
|
|
||||||
* ``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords.
|
|
||||||
|
|
||||||
* ``CALL_FUNCTION_LEN`` for ``len(o)``.
|
|
||||||
|
|
||||||
* ``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Extensions that indicate they use global state (by setting ``m_size`` to -1)
|
|
||||||
can again be used in multiple interpreters. This reverts to behavior of
|
|
||||||
Python 3.8.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Change to the implementation of split dictionaries. Classes where the
|
|
||||||
instances differ either in the exact set of attributes, or in the order in
|
|
||||||
which those attributes are set, can still share keys. This should have no
|
|
||||||
observable effect on users of Python or the C-API. Patch by Mark Shannon.
|
|
|
@ -1 +0,0 @@
|
||||||
Implement :pep:`654`. Add :class:`ExceptionGroup` and :class:`BaseExceptionGroup`. Update traceback display code.
|
|
|
@ -1,3 +0,0 @@
|
||||||
In FrozenImporter.find_spec(), we now preserve the information needed in
|
|
||||||
exec_module() to load the module. This change mostly impacts internal
|
|
||||||
details, rather than changing the importer's behavior.
|
|
|
@ -1,5 +0,0 @@
|
||||||
For frozen stdlib modules, record the original module name as
|
|
||||||
``module.__spec__.loader_state.origname``. If the value is different than
|
|
||||||
``module.__spec__.name`` then the module was defined as an alias in
|
|
||||||
Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes
|
|
||||||
from a source file outside the stdlib.
|
|
|
@ -1,9 +0,0 @@
|
||||||
Frozen stdlib modules now have ``__file__`` to the .py file they would
|
|
||||||
otherwise be loaded from, if possible. For packages, ``__path__`` now has
|
|
||||||
the correct entry instead of being an empty list, which allows unfrozen
|
|
||||||
submodules to be imported. These are set only if the stdlib directory is
|
|
||||||
known when the runtime is initialized. Note that the file at ``__file__``
|
|
||||||
is not guaranteed to exist. None of this affects non-stdlib frozen modules
|
|
||||||
nor, for now, frozen modules imported using
|
|
||||||
``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is
|
|
||||||
not updated for the module.
|
|
|
@ -1 +0,0 @@
|
||||||
Specialized the ``BINARY_MULTIPLY`` opcode to ``BINARY_MULTIPLY_INT`` and ``BINARY_MULTIPLY_FLOAT`` using the PEP 659 machinery.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix reference leak from descr_check. Patch by Dong-hee Na.
|
|
|
@ -1 +0,0 @@
|
||||||
Add SipHash13 for string hash algorithm and use it by default.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix a crash in the parser when reporting tokenizer errors that occur at the
|
|
||||||
same time unclosed parentheses are detected. Patch by Pablo Galindo.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Object attributes are held in an array instead of a dictionary. An object's
|
|
||||||
dictionary are created lazily, only when needed. Reduces the memory
|
|
||||||
consumption of a typical Python object by about 30%. Patch by Mark Shannon.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Python now fails to initialize if it finds an invalid :option:`-X` option in the
|
|
||||||
command line. Patch by Pablo Galindo.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix parser crash when reporting errors involving invalid continuation
|
|
||||||
characters. Patch by Pablo Galindo.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fix a bug in the obmalloc radix tree code. On 64-bit machines, the bug
|
|
||||||
causes the tree to hold 46-bits of virtual addresses, rather than the
|
|
||||||
intended 48-bits.
|
|
|
@ -1 +0,0 @@
|
||||||
Fixed a crash in ``issubclass()`` from infinite recursion when searching pathological ``__bases__`` tuples.
|
|
|
@ -1,3 +0,0 @@
|
||||||
In obmalloc, set ADDRESS_BITS to not ignore any bits (ignored 16 before). That is
|
|
||||||
safer in the case that the kernel gives user-space virtual addresses that span
|
|
||||||
a range greater than 48 bits.
|
|
|
@ -1,8 +0,0 @@
|
||||||
Cases of sorting using tuples as keys may now be significantly faster
|
|
||||||
in some cases. Patch by Tim Peters.
|
|
||||||
|
|
||||||
The order of the result may differ from earlier releases if the tuple
|
|
||||||
elements don't define a total ordering (see
|
|
||||||
:ref:`expressions-value-comparisons` for information on
|
|
||||||
total ordering). It's generally true that the result of sorting simply
|
|
||||||
isn't well-defined in the absence of a total ordering on list elements.
|
|
|
@ -1 +0,0 @@
|
||||||
Specialize simple calls to Python functions (no starargs, keyowrd dict, or closure)
|
|
|
@ -1,2 +0,0 @@
|
||||||
Clarify :exc:`ImportError` message when we try to explicitly import a
|
|
||||||
frozen module but frozen modules are disabled.
|
|
|
@ -1,2 +0,0 @@
|
||||||
:data:`sys.stdlib_module_names` now contains the macOS-specific module
|
|
||||||
:mod:`_scproxy`.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Improve the :exc:`SyntaxError` message when using ``True``, ``None`` or
|
|
||||||
``False`` as keywords in a function call. Patch by Pablo Galindo.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add Programming FAQ entry explaining that int literal attribute access
|
|
||||||
requires either a space after or parentheses around the literal.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add protocol description to the :class:`importlib.abc.Traversable`
|
|
||||||
documentation.
|
|
|
@ -1 +0,0 @@
|
||||||
Add note about :pep:`585` in :mod:`collections.abc`.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Mention in the documentation of :ref:`Built-in Exceptions
|
|
||||||
<bltin-exceptions>` that inheriting from multiple exception types in a
|
|
||||||
single subclass is not recommended due to possible memory layout
|
|
||||||
incompatibility.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add protocol description to the :class:`importlib.abc.TraversableResources`
|
|
||||||
documentation.
|
|
|
@ -1 +0,0 @@
|
||||||
Add ``level`` argument to ``multiprocessing.log_to_stderr`` function docs.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add a new "relevant PEPs" section to the top of the documentation for the
|
|
||||||
``typing`` module. Patch by Alex Waygood.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Update Sphinx version used to build the documentation to 4.2.0.
|
|
||||||
Patch by Maciej Olko.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Amend the docs on ``GenericAlias`` objects to clarify that non-container
|
|
||||||
classes can also implement ``__class_getitem__``. Patch contributed by Alex
|
|
||||||
Waygood.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Improve documentation for :func:`functools.singledispatch` and
|
|
||||||
:class:`functools.singledispatchmethod`.
|
|
|
@ -1 +0,0 @@
|
||||||
Add context keywords 'case' and 'match' to completions list.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add help flag to the base64 module's command line interface. Patch contributed
|
|
||||||
by Robert Kuska.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and
|
|
||||||
greater.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Move :mod:`sqlite3` tests to ``/Lib/test/test_sqlite3``. Patch by Erlend E.
|
|
||||||
Aasland.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Adds support for HTTP 308 redirects to :mod:`urllib`. See :rfc:`7538` for
|
|
||||||
details. Patch by Jochem Schulenklopper.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Implement ``Fraction.__int__``, so that a :class:`fractions.Fraction`
|
|
||||||
instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` check.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fixed an error raised in :mod:`argparse` help display when help for an
|
|
||||||
option is set to 1+ blank spaces or when *choices* arg is an empty container.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Add support for SQLite extended result codes in :exc:`sqlite3.Error`. Patch
|
|
||||||
by Erlend E. Aasland.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Added non parallel-safe :func:`~contextlib.chdir` context manager to change
|
|
||||||
the current working directory and then restore it on exit. Simple wrapper
|
|
||||||
around :func:`~os.chdir`.
|
|
|
@ -1 +0,0 @@
|
||||||
When tracing a tkinter variable used by a ttk OptionMenu, callbacks are no longer made twice.
|
|
|
@ -1,5 +0,0 @@
|
||||||
Fix the ``tempfile._infer_return_type`` function so that the ``dir``
|
|
||||||
argument of the :mod:`tempfile` functions accepts an object implementing the
|
|
||||||
``os.PathLike`` protocol.
|
|
||||||
|
|
||||||
Patch by Kyungmin Lee.
|
|
|
@ -1,15 +0,0 @@
|
||||||
Removed from the :mod:`inspect` module:
|
|
||||||
|
|
||||||
* the ``getargspec`` function, deprecated since Python 3.0;
|
|
||||||
use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead.
|
|
||||||
|
|
||||||
* the ``formatargspec`` function, deprecated since Python 3.5;
|
|
||||||
use the :func:`inspect.signature` function and :class:`Signature` object
|
|
||||||
directly.
|
|
||||||
|
|
||||||
* the undocumented ``Signature.from_callable`` and ``Signature.from_function``
|
|
||||||
functions, deprecated since Python 3.5; use the
|
|
||||||
:meth:`Signature.from_callable() <inspect.Signature.from_callable>` method
|
|
||||||
instead.
|
|
||||||
|
|
||||||
Patch by Hugo van Kemenade.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Add :meth:`~sqlite3.Connection.setlimit` and
|
|
||||||
:meth:`~sqlite3.Connection.getlimit` to :class:`sqlite3.Connection` for
|
|
||||||
setting and getting SQLite limits by connection basis. Patch by Erlend E.
|
|
||||||
Aasland.
|
|
|
@ -1 +0,0 @@
|
||||||
Fixed :class:`http.client.HTTPConnection` to work properly in OSs that don't support the ``TCP_NODELAY`` socket option.
|
|
|
@ -1 +0,0 @@
|
||||||
Update bundled pip to 21.2.4 and setuptools to 58.1.0
|
|
|
@ -1,2 +0,0 @@
|
||||||
Improve error message of :class:`csv.Dialect` when initializing.
|
|
||||||
Patch by Vajrasky Kok and Dong-hee Na.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Make :mod:`xmlrpc.client` more robust to C runtimes where the underlying C
|
|
||||||
``strftime`` function results in a ``ValueError`` when testing for year
|
|
||||||
formatting options.
|
|
|
@ -1 +0,0 @@
|
||||||
Prevent use-after-free in asyncio. Make sure the cached running loop holder gets cleared on dealloc to prevent use-after-free in get_running_loop
|
|
|
@ -1 +0,0 @@
|
||||||
Add support of null characters in :mod:`csv`.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Migrated pydoc to HTML5 (without changing the look of it). Side effect is to
|
|
||||||
update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS too. cgitb now
|
|
||||||
relies less on pydoc (as it can't use the CSS file).
|
|
|
@ -1 +0,0 @@
|
||||||
Add extensions for files containing subtitles - .srt & .vtt - to the mimetypes.py module.
|
|
|
@ -1 +0,0 @@
|
||||||
Make :func:`inspect.getmodule` catch ``FileNotFoundError`` raised by :'func:`inspect.getabsfile`, and return ``None`` to indicate that the module could not be determined.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fix bug in the :mod:`doctest` module that caused it to fail if a docstring
|
|
||||||
included an example with a ``classmethod`` ``property``. Patch by Alex
|
|
||||||
Waygood.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Empty escapechar/quotechar is not allowed when initializing
|
|
||||||
:class:`csv.Dialect`. Patch by Vajrasky Kok and Dong-hee Na.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix use of :class:`asyncio.Condition` with explicit :class:`asyncio.Lock` objects, which was a regression due to removal of explicit loop arguments.
|
|
||||||
Patch by Joongi Kim.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix the behaviour of :func:`traceback.print_exc` when displaying the caret
|
|
||||||
when the ``end_offset`` in the exception is set to 0. Patch by Pablo Galindo
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix quadratic behaviour in the enum module: Creation of enum classes with a
|
|
||||||
lot of entries was quadratic.
|
|
|
@ -1,3 +0,0 @@
|
||||||
Fixed :func:`email.utils.parsedate_tz` crashing with
|
|
||||||
:exc:`UnboundLocalError` on certain invalid input instead of returning
|
|
||||||
``None``. Patch by Ben Hoyt.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix incremental decoder and stream reader in the "unicode-escape" codec.
|
|
||||||
Previously they failed if the escape sequence was split.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Fix incremental decoder and stream reader in the "raw-unicode-escape" codec.
|
|
||||||
Previously they failed if the escape sequence was split.
|
|
|
@ -1 +0,0 @@
|
||||||
Fix a regression in py_compile when reading filenames from standard input.
|
|
|
@ -1 +0,0 @@
|
||||||
Removed deprecated support for float arguments in *randrange()*.
|
|
|
@ -1,2 +0,0 @@
|
||||||
Update :class:`~typing.ForwardRef` to support ``|`` operator. Patch by
|
|
||||||
Dong-hee Na.
|
|
|
@ -1,4 +0,0 @@
|
||||||
Reverted optimization of iterating :class:`gzip.GzipFile`,
|
|
||||||
:class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see bpo-43787) because it
|
|
||||||
caused regression when user iterate them without having reference of them.
|
|
||||||
Patch by Inada Naoki.
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue