diff options
author | 2021-02-03 06:14:25 +0000 | |
---|---|---|
committer | 2021-02-03 06:14:25 +0000 | |
commit | 8d998f140e4a0d2319c8e1efbeb4582f7c0df60e (patch) | |
tree | ac9a59d69aa990163f84698e3f133abae1d98f09 | |
parent | bpo-43082: Remove redundant 'the' in Descriptor howto (GH-24394) (diff) | |
parent | Fix Sphynx syntax in the memory.rst document (diff) | |
download | cpython-8d998f140e4a0d2319c8e1efbeb4582f7c0df60e.tar.gz cpython-8d998f140e4a0d2319c8e1efbeb4582f7c0df60e.tar.bz2 cpython-8d998f140e4a0d2319c8e1efbeb4582f7c0df60e.zip |
Merge tag 'v3.10.0a5'
Python 3.10.0a5
71 files changed, 716 insertions, 147 deletions
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index 0597ef7136..588668ee85 100644 --- a/Doc/c-api/memory.rst +++ b/Doc/c-api/memory.rst @@ -96,7 +96,7 @@ Allocator Domains ================= 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 how every domain allocates memory or what internal functions each domain calls is considered an implementation detail, but for debugging purposes a simplified diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 806f7d279d..2cb634ea95 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 10 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA -#define PY_RELEASE_SERIAL 4 +#define PY_RELEASE_SERIAL 5 /* Version as a string */ -#define PY_VERSION "3.10.0a4+" +#define PY_VERSION "3.10.0a5" /*--end constants--*/ /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py index 93d2ddfba5..ba4e2902ca 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- 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' '**********************\n' '\n' @@ -2561,8 +2561,10 @@ topics = {'assert': 'The "assert" statement\n' 'usage\n' 'patterns to be encapsulated for convenient reuse.\n' '\n' - ' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n' - ' with_item ::= expression ["as" target]\n' + ' with_stmt ::= "with" ( "(" with_stmt_contents ","? ' + '")" | with_stmt_contents ) ":" suite\n' + ' with_stmt_contents ::= with_item ("," with_item)*\n' + ' with_item ::= expression ["as" target]\n' '\n' 'The execution of the "with" statement with one “item” proceeds ' 'as\n' @@ -2654,9 +2656,23 @@ topics = {'assert': 'The "assert" statement\n' ' with B() as b:\n' ' SUITE\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' '\n' + 'Changed in version 3.10: Support for using grouping parentheses ' + 'to\n' + 'break the statement in multiple lines.\n' + '\n' 'See also:\n' '\n' ' **PEP 343** - The “with” statement\n' @@ -5268,9 +5284,9 @@ topics = {'assert': 'The "assert" statement\n' ' | | in the form ‘+000000120’. This alignment ' 'option is only |\n' ' | | valid for numeric types. It becomes the ' - 'default when ‘0’ |\n' - ' | | immediately precedes the field ' - 'width. |\n' + 'default for |\n' + ' | | numbers when ‘0’ immediately precedes the ' + 'field width. |\n' ' ' '+-----------+------------------------------------------------------------+\n' ' | "\'^\'" | Forces the field to be centered within ' @@ -5378,6 +5394,10 @@ topics = {'assert': 'The "assert" statement\n' 'with an\n' '*alignment* type of "\'=\'".\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 ' 'digits should\n' 'be displayed after the decimal point for a floating point ' @@ -13989,8 +14009,10 @@ topics = {'assert': 'The "assert" statement\n' 'usage\n' 'patterns to be encapsulated for convenient reuse.\n' '\n' - ' with_stmt ::= "with" with_item ("," with_item)* ":" suite\n' - ' with_item ::= expression ["as" target]\n' + ' with_stmt ::= "with" ( "(" with_stmt_contents ","? ")" | ' + 'with_stmt_contents ) ":" suite\n' + ' with_stmt_contents ::= with_item ("," with_item)*\n' + ' with_item ::= expression ["as" target]\n' '\n' 'The execution of the "with" statement with one “item” proceeds as\n' 'follows:\n' @@ -14076,8 +14098,20 @@ topics = {'assert': 'The "assert" statement\n' ' with B() as b:\n' ' SUITE\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' '\n' + 'Changed in version 3.10: Support for using grouping parentheses to\n' + 'break the statement in multiple lines.\n' + '\n' 'See also:\n' '\n' ' **PEP 343** - The “with” statement\n' diff --git a/Misc/NEWS.d/3.10.0a5.rst b/Misc/NEWS.d/3.10.0a5.rst new file mode 100644 index 0000000000..3362d49460 --- /dev/null +++ b/Misc/NEWS.d/3.10.0a5.rst @@ -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``. diff --git a/Misc/NEWS.d/next/Build/2021-01-07-12-51-38.bpo-42856.n3cMHV.rst b/Misc/NEWS.d/next/Build/2021-01-07-12-51-38.bpo-42856.n3cMHV.rst deleted file mode 100644 index 6aab7a6e51..0000000000 --- a/Misc/NEWS.d/next/Build/2021-01-07-12-51-38.bpo-42856.n3cMHV.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Build/2021-01-11-23-26-00.bpo-31904.ty8f3h.rst b/Misc/NEWS.d/next/Build/2021-01-11-23-26-00.bpo-31904.ty8f3h.rst deleted file mode 100644 index bc02d0a04f..0000000000 --- a/Misc/NEWS.d/next/Build/2021-01-11-23-26-00.bpo-31904.ty8f3h.rst +++ /dev/null @@ -1 +0,0 @@ -Add library search path by wr-cc in add_cross_compiling_paths() for VxWorks. diff --git a/Misc/NEWS.d/next/Build/2021-01-12-10-06-50.bpo-42874.XKK61g.rst b/Misc/NEWS.d/next/Build/2021-01-12-10-06-50.bpo-42874.XKK61g.rst deleted file mode 100644 index c3ef7b34bc..0000000000 --- a/Misc/NEWS.d/next/Build/2021-01-12-10-06-50.bpo-42874.XKK61g.rst +++ /dev/null @@ -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). diff --git a/Misc/NEWS.d/next/Build/2021-01-18-20-52-06.bpo-36143.kgnIYo.rst b/Misc/NEWS.d/next/Build/2021-01-18-20-52-06.bpo-36143.kgnIYo.rst deleted file mode 100644 index 5ac3269d95..0000000000 --- a/Misc/NEWS.d/next/Build/2021-01-18-20-52-06.bpo-36143.kgnIYo.rst +++ /dev/null @@ -1 +0,0 @@ -``make regen-all`` now also runs ``regen-keyword``. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Build/2021-01-26-14-48-40.bpo-43031.44nK9U.rst b/Misc/NEWS.d/next/Build/2021-01-26-14-48-40.bpo-43031.44nK9U.rst deleted file mode 100644 index 6e8377fb30..0000000000 --- a/Misc/NEWS.d/next/Build/2021-01-26-14-48-40.bpo-43031.44nK9U.rst +++ /dev/null @@ -1,2 +0,0 @@ -Pass ``--timeout=$(TESTTIMEOUT)`` option to the default profile task -``./python -m test --pgo`` command. diff --git a/Misc/NEWS.d/next/C API/2021-01-27-10-27-47.bpo-43030.loDcD_.rst b/Misc/NEWS.d/next/C API/2021-01-27-10-27-47.bpo-43030.loDcD_.rst deleted file mode 100644 index 7a432522db..0000000000 --- a/Misc/NEWS.d/next/C API/2021-01-27-10-27-47.bpo-43030.loDcD_.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` on platforms with -signed ``wchar_t``. diff --git a/Misc/NEWS.d/next/C API/2021-01-28-01-11-59.bpo-42979.JrGkrm.rst b/Misc/NEWS.d/next/C API/2021-01-28-01-11-59.bpo-42979.JrGkrm.rst deleted file mode 100644 index 15fd86bee9..0000000000 --- a/Misc/NEWS.d/next/C API/2021-01-28-01-11-59.bpo-42979.JrGkrm.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst b/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst deleted file mode 100644 index 7345152fee..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2018-12-20-23-59-23.bpo-27772.idHEcj.rst +++ /dev/null @@ -1,2 +0,0 @@ -In string formatting, preceding the *width* field by ``'0'`` no longer -affects the default alignment for strings. diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-10-10-14-16-03.bpo-41994.Xop8sV.rst b/Misc/NEWS.d/next/Core and Builtins/2020-10-10-14-16-03.bpo-41994.Xop8sV.rst deleted file mode 100644 index 36d5011ee7..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2020-10-10-14-16-03.bpo-41994.Xop8sV.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed possible leak in ``import`` when ``sys.modules`` is not a ``dict``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-12-12-20-09-12.bpo-37324.jB-9_U.rst b/Misc/NEWS.d/next/Core and Builtins/2020-12-12-20-09-12.bpo-37324.jB-9_U.rst deleted file mode 100644 index 5b57da4de5..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2020-12-12-20-09-12.bpo-37324.jB-9_U.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove deprecated aliases to :ref:`collections-abstract-base-classes` from -the :mod:`collections` module. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst deleted file mode 100644 index 77dbc0262f..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst +++ /dev/null @@ -1 +0,0 @@ -frame.f_lineno is correct even if frame.f_trace is set to True diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-06-17-06-37.bpo-42827.jtRR0D.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-06-17-06-37.bpo-42827.jtRR0D.rst deleted file mode 100644 index 8e40ab6a65..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-06-17-06-37.bpo-42827.jtRR0D.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash when working out the error line of a :exc:`SyntaxError` in some -multi-line expressions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-11-17-58-52.bpo-42882.WfTdfg.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-11-17-58-52.bpo-42882.WfTdfg.rst deleted file mode 100644 index 6cc7c92194..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-11-17-58-52.bpo-42882.WfTdfg.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-13-14-06-01.bpo-42924._WS1Ok.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-13-14-06-01.bpo-42924._WS1Ok.rst deleted file mode 100644 index 33fbb5235d..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-13-14-06-01.bpo-42924._WS1Ok.rst +++ /dev/null @@ -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). diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-14-23-15-34.bpo-42864.QgOAQ1.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-14-23-15-34.bpo-42864.QgOAQ1.rst deleted file mode 100644 index 127a29f518..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-14-23-15-34.bpo-42864.QgOAQ1.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve error messages in the parser when parentheses are not closed. Patch -by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-15-20-05-56.bpo-42927.GI-l-7.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-15-20-05-56.bpo-42927.GI-l-7.rst deleted file mode 100644 index 8ee578e816..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-15-20-05-56.bpo-42927.GI-l-7.rst +++ /dev/null @@ -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.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-20-22-31-01.bpo-40176.anjyWw.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-20-22-31-01.bpo-40176.anjyWw.rst deleted file mode 100644 index df7de3bdf3..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-20-22-31-01.bpo-40176.anjyWw.rst +++ /dev/null @@ -1,2 +0,0 @@ -Syntax errors for unterminated string literals now point to the start -of the string instead of reporting EOF/EOL. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-20-23-44-15.bpo-42986.sWoaGf.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-20-23-44-15.bpo-42986.sWoaGf.rst deleted file mode 100644 index 6e4ed60bf2..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-20-23-44-15.bpo-42986.sWoaGf.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix parser crash when reporting syntax errors in f-string with newlines. -Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-24-18-02-05.bpo-43017.emEcXX.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-24-18-02-05.bpo-43017.emEcXX.rst deleted file mode 100644 index a809f5cbb1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-24-18-02-05.bpo-43017.emEcXX.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve error message in the parser when using un-parenthesised tuples in -comprehensions. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-24-20-19-55.bpo-42997.QUOPgP.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-24-20-19-55.bpo-42997.QUOPgP.rst deleted file mode 100644 index 889f4c5d99..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-24-20-19-55.bpo-42997.QUOPgP.rst +++ /dev/null @@ -1 +0,0 @@ -Improve error message for missing ":" before blocks. Patch by Pablo Galindo.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-29-17-48-44.bpo-38631.jR-3kC.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-29-17-48-44.bpo-38631.jR-3kC.rst deleted file mode 100644 index 485607e661..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-29-17-48-44.bpo-38631.jR-3kC.rst +++ /dev/null @@ -1,2 +0,0 @@ -Replace :c:func:`Py_FatalError` calls in the compiler with regular -:exc:`SystemError` exceptions. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-30-11-31-44.bpo-42990.69h_zK.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-30-11-31-44.bpo-42990.69h_zK.rst deleted file mode 100644 index 8ac39713e1..0000000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-01-30-11-31-44.bpo-42990.69h_zK.rst +++ /dev/null @@ -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 diff --git a/Misc/NEWS.d/next/Documentation/2021-01-04-22-14-22.bpo-42811.HY2beA.rst b/Misc/NEWS.d/next/Documentation/2021-01-04-22-14-22.bpo-42811.HY2beA.rst deleted file mode 100644 index 768508e0ce..0000000000 --- a/Misc/NEWS.d/next/Documentation/2021-01-04-22-14-22.bpo-42811.HY2beA.rst +++ /dev/null @@ -1,2 +0,0 @@ -Updated importlib.utils.resolve_name() doc to use __spec__.parent -instead of __package__. (Thanks Yair Frid.) diff --git a/Misc/NEWS.d/next/Documentation/2021-01-20-23-03-49.bpo-40304.-LK7Ps.rst b/Misc/NEWS.d/next/Documentation/2021-01-20-23-03-49.bpo-40304.-LK7Ps.rst deleted file mode 100644 index 3f2f14c2d7..0000000000 --- a/Misc/NEWS.d/next/Documentation/2021-01-20-23-03-49.bpo-40304.-LK7Ps.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix doc for type(name, bases, dict). Patch by Boris Verkhovskiy and -Éric Araujo. diff --git a/Misc/NEWS.d/next/IDLE/2019-06-30-20-31-09.bpo-32631.e7_4BG.rst b/Misc/NEWS.d/next/IDLE/2019-06-30-20-31-09.bpo-32631.e7_4BG.rst deleted file mode 100644 index c422f43b6d..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-06-30-20-31-09.bpo-32631.e7_4BG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Finish zzdummy example extension module: make menu entries work; -add docstrings and tests with 100% coverage. diff --git a/Misc/NEWS.d/next/IDLE/2019-11-14-23-41-07.bpo-23544.3etemb.rst b/Misc/NEWS.d/next/IDLE/2019-11-14-23-41-07.bpo-23544.3etemb.rst deleted file mode 100644 index eb4a56bf10..0000000000 --- a/Misc/NEWS.d/next/IDLE/2019-11-14-23-41-07.bpo-23544.3etemb.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst b/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst deleted file mode 100644 index 87948f3cd1..0000000000 --- a/Misc/NEWS.d/next/IDLE/2021-01-10-01-25-43.bpo-33065.zmyHYJ.rst +++ /dev/null @@ -1 +0,0 @@ -Fix problem debugging user classes with __repr__ method. diff --git a/Misc/NEWS.d/next/IDLE/2021-01-26-18-12-17.bpo-43008.mbQUc7.rst b/Misc/NEWS.d/next/IDLE/2021-01-26-18-12-17.bpo-43008.mbQUc7.rst deleted file mode 100644 index 55ab67ca94..0000000000 --- a/Misc/NEWS.d/next/IDLE/2021-01-26-18-12-17.bpo-43008.mbQUc7.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make IDLE invoke :func:`sys.excepthook` in normal, 2-process mode. -Patch by Ken Hilton. diff --git a/Misc/NEWS.d/next/Library/2018-04-23-13-44-10.bpo-33289.anBnUr.rst b/Misc/NEWS.d/next/Library/2018-04-23-13-44-10.bpo-33289.anBnUr.rst deleted file mode 100644 index 52d9ac9dd9..0000000000 --- a/Misc/NEWS.d/next/Library/2018-04-23-13-44-10.bpo-33289.anBnUr.rst +++ /dev/null @@ -1,2 +0,0 @@ -Correct call to :mod:`tkinter.colorchooser` to return RGB triplet of ints -instead of floats. Patch by Cheryl Sabella. diff --git a/Misc/NEWS.d/next/Library/2020-01-13-23-37-58.bpo-39273.m5hzxV.rst b/Misc/NEWS.d/next/Library/2020-01-13-23-37-58.bpo-39273.m5hzxV.rst deleted file mode 100644 index c942da07da..0000000000 --- a/Misc/NEWS.d/next/Library/2020-01-13-23-37-58.bpo-39273.m5hzxV.rst +++ /dev/null @@ -1,2 +0,0 @@ -The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if -available. diff --git a/Misc/NEWS.d/next/Library/2020-03-16-03-03-21.bpo-38307.2cmw2i.rst b/Misc/NEWS.d/next/Library/2020-03-16-03-03-21.bpo-38307.2cmw2i.rst deleted file mode 100644 index 358089915f..0000000000 --- a/Misc/NEWS.d/next/Library/2020-03-16-03-03-21.bpo-38307.2cmw2i.rst +++ /dev/null @@ -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.
diff --git a/Misc/NEWS.d/next/Library/2020-06-28-16-13-02.bpo-41149.jiZWtJ.rst b/Misc/NEWS.d/next/Library/2020-06-28-16-13-02.bpo-41149.jiZWtJ.rst deleted file mode 100644 index abe09016a6..0000000000 --- a/Misc/NEWS.d/next/Library/2020-06-28-16-13-02.bpo-41149.jiZWtJ.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2020-08-21-15-24-14.bpo-41604.rTXleO.rst b/Misc/NEWS.d/next/Library/2020-08-21-15-24-14.bpo-41604.rTXleO.rst deleted file mode 100644 index 0f9794cbdb..0000000000 --- a/Misc/NEWS.d/next/Library/2020-08-21-15-24-14.bpo-41604.rTXleO.rst +++ /dev/null @@ -1,2 +0,0 @@ -Don't decrement the reference count of the previous user_ptr when -set_panel_userptr fails. diff --git a/Misc/NEWS.d/next/Library/2020-10-11-13-48-03.bpo-42005.Jq6Az-.rst b/Misc/NEWS.d/next/Library/2020-10-11-13-48-03.bpo-42005.Jq6Az-.rst deleted file mode 100644 index be4ed7f55f..0000000000 --- a/Misc/NEWS.d/next/Library/2020-10-11-13-48-03.bpo-42005.Jq6Az-.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix CLI of :mod:`cProfile` and :mod:`profile` to catch -:exc:`BrokenPipeError`. diff --git a/Misc/NEWS.d/next/Library/2020-11-17-14-30-12.bpo-42383.ubl0Y_.rst b/Misc/NEWS.d/next/Library/2020-11-17-14-30-12.bpo-42383.ubl0Y_.rst deleted file mode 100644 index ccf2106f28..0000000000 --- a/Misc/NEWS.d/next/Library/2020-11-17-14-30-12.bpo-42383.ubl0Y_.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2020-11-17-14-32-39.bpo-42384.1ZnQSn.rst b/Misc/NEWS.d/next/Library/2020-11-17-14-32-39.bpo-42384.1ZnQSn.rst deleted file mode 100644 index ae990162fb..0000000000 --- a/Misc/NEWS.d/next/Library/2020-11-17-14-32-39.bpo-42384.1ZnQSn.rst +++ /dev/null @@ -1 +0,0 @@ -Make pdb populate sys.path[0] exactly the same as regular python execution. diff --git a/Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst b/Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst deleted file mode 100644 index 2039c1ca9c..0000000000 --- a/Misc/NEWS.d/next/Library/2020-12-30-14-56-25.bpo-24464.vbNVHe.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-01-15-29-16.bpo-42802.Lw-bzl.rst b/Misc/NEWS.d/next/Library/2021-01-01-15-29-16.bpo-42802.Lw-bzl.rst deleted file mode 100644 index 9016cd0287..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-01-15-29-16.bpo-42802.Lw-bzl.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-04-15-05-40.bpo-1635741.EOCfZY.rst b/Misc/NEWS.d/next/Library/2021-01-04-15-05-40.bpo-1635741.EOCfZY.rst deleted file mode 100644 index 7ba9a53ddf..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-04-15-05-40.bpo-1635741.EOCfZY.rst +++ /dev/null @@ -1,2 +0,0 @@ -Convert the _multibytecodec extension module (CJK codecs) to multi-phase -initialization (:pep:`489`). Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-01-05-00-52-30.bpo-40810.JxQqPe.rst b/Misc/NEWS.d/next/Library/2021-01-05-00-52-30.bpo-40810.JxQqPe.rst deleted file mode 100644 index 61d8780bb8..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-05-00-52-30.bpo-40810.JxQqPe.rst +++ /dev/null @@ -1 +0,0 @@ -Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-01-05-21-26-29.bpo-41748.KdC0w3.rst b/Misc/NEWS.d/next/Library/2021-01-05-21-26-29.bpo-41748.KdC0w3.rst deleted file mode 100644 index 52efa3ac3d..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-05-21-26-29.bpo-41748.KdC0w3.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix HTMLParser parsing rules for element attributes containing -commas with spaces. Patch by Karl Dubost.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-01-05-23-55-24.bpo-42834.LxRnZC.rst b/Misc/NEWS.d/next/Library/2021-01-05-23-55-24.bpo-42834.LxRnZC.rst deleted file mode 100644 index 9e63a7e760..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-05-23-55-24.bpo-42834.LxRnZC.rst +++ /dev/null @@ -1 +0,0 @@ -Make internal caches of the ``_json`` module compatible with subinterpreters. diff --git a/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst b/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst deleted file mode 100644 index 927283521e..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-07-11-44-22.bpo-42851.uyQFyd.rst +++ /dev/null @@ -1 +0,0 @@ -remove __init_subclass__ support for Enum members diff --git a/Misc/NEWS.d/next/Library/2021-01-07-23-31-17.bpo-42846.kukDjw.rst b/Misc/NEWS.d/next/Library/2021-01-07-23-31-17.bpo-42846.kukDjw.rst deleted file mode 100644 index 6f8a739ec1..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-07-23-31-17.bpo-42846.kukDjw.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-08-10-57-21.bpo-42866.Y1DnrO.rst b/Misc/NEWS.d/next/Library/2021-01-08-10-57-21.bpo-42866.Y1DnrO.rst deleted file mode 100644 index 3ea6cc239a..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-08-10-57-21.bpo-42866.Y1DnrO.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a reference leak in the ``getcodec()`` function of CJK codecs. Patch by -Victor Stinner. diff --git a/Misc/NEWS.d/next/Library/2021-01-08-15-49-20.bpo-42780.rtqi6B.rst b/Misc/NEWS.d/next/Library/2021-01-08-15-49-20.bpo-42780.rtqi6B.rst deleted file mode 100644 index a491690507..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-08-15-49-20.bpo-42780.rtqi6B.rst +++ /dev/null @@ -1 +0,0 @@ -Fix os.set_inheritable() for O_PATH file descriptors on Linux. diff --git a/Misc/NEWS.d/next/Library/2021-01-11-17-36-59.bpo-42901.gFd-ta.rst b/Misc/NEWS.d/next/Library/2021-01-11-17-36-59.bpo-42901.gFd-ta.rst deleted file mode 100644 index 206bca1fb6..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-11-17-36-59.bpo-42901.gFd-ta.rst +++ /dev/null @@ -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__``. diff --git a/Misc/NEWS.d/next/Library/2021-01-12-19-34-06.bpo-42848.5G8oBl.rst b/Misc/NEWS.d/next/Library/2021-01-12-19-34-06.bpo-42848.5G8oBl.rst deleted file mode 100644 index 4490b6ae34..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-12-19-34-06.bpo-42848.5G8oBl.rst +++ /dev/null @@ -1 +0,0 @@ -Removed recursion from :class:`~traceback.TracebackException` to allow it to handle long exception chains.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-01-13-12-15-13.bpo-42923.zBiNls.rst b/Misc/NEWS.d/next/Library/2021-01-13-12-15-13.bpo-42923.zBiNls.rst deleted file mode 100644 index bb566f982b..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-13-12-15-13.bpo-42923.zBiNls.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-13-12-55-41.bpo-42877.Fi1zEG.rst b/Misc/NEWS.d/next/Library/2021-01-13-12-55-41.bpo-42877.Fi1zEG.rst deleted file mode 100644 index 49bb74bc53..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-13-12-55-41.bpo-42877.Fi1zEG.rst +++ /dev/null @@ -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`. diff --git a/Misc/NEWS.d/next/Library/2021-01-14-15-07-16.bpo-38250.1fvhOk.rst b/Misc/NEWS.d/next/Library/2021-01-14-15-07-16.bpo-38250.1fvhOk.rst deleted file mode 100644 index e5a7246837..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-14-15-07-16.bpo-38250.1fvhOk.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst b/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst deleted file mode 100644 index 01f8094944..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-15-00-23-50.bpo-42931.QD6U2B.rst +++ /dev/null @@ -1 +0,0 @@ -Add :func:`randbytes` to ``random.__all__``. diff --git a/Misc/NEWS.d/next/Library/2021-01-15-11-48-00.bpo-42934.ILKoOI.rst b/Misc/NEWS.d/next/Library/2021-01-15-11-48-00.bpo-42934.ILKoOI.rst deleted file mode 100644 index 92f2402d23..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-15-11-48-00.bpo-42934.ILKoOI.rst +++ /dev/null @@ -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. diff --git a/Misc/NEWS.d/next/Library/2021-01-18-10-41-44.bpo-42944.RrONvy.rst b/Misc/NEWS.d/next/Library/2021-01-18-10-41-44.bpo-42944.RrONvy.rst deleted file mode 100644 index b78d10aa25..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-18-10-41-44.bpo-42944.RrONvy.rst +++ /dev/null @@ -1 +0,0 @@ -Fix ``random.Random.sample`` when ``counts`` argument is not ``None``. diff --git a/Misc/NEWS.d/next/Library/2021-01-18-11-59-46.bpo-42955.CSWLC9.rst b/Misc/NEWS.d/next/Library/2021-01-18-11-59-46.bpo-42955.CSWLC9.rst deleted file mode 100644 index 373b829b0f..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-18-11-59-46.bpo-42955.CSWLC9.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add :data:`sys.stdlib_module_names`, containing the list of the standard library -module names. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Library/2021-01-20-12-10-47.bpo-42323.PONB8e.rst b/Misc/NEWS.d/next/Library/2021-01-20-12-10-47.bpo-42323.PONB8e.rst deleted file mode 100644 index b2f7becee9..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-20-12-10-47.bpo-42323.PONB8e.rst +++ /dev/null @@ -1 +0,0 @@ -Fix :func:`math.nextafter` for NaN on AIX. diff --git a/Misc/NEWS.d/next/Library/2021-01-24-00-37-40.bpo-43014.BVPhEr.rst b/Misc/NEWS.d/next/Library/2021-01-24-00-37-40.bpo-43014.BVPhEr.rst deleted file mode 100644 index 02898e4a3a..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-24-00-37-40.bpo-43014.BVPhEr.rst +++ /dev/null @@ -1 +0,0 @@ -Improve performance of :mod:`tokenize` by 20-30%. Patch by Anthony Sottile. diff --git a/Misc/NEWS.d/next/Library/2021-01-27-20-49-32.bpo-41282.SEPdV0.rst b/Misc/NEWS.d/next/Library/2021-01-27-20-49-32.bpo-41282.SEPdV0.rst deleted file mode 100644 index c7b6b5233e..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-27-20-49-32.bpo-41282.SEPdV0.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate ``distutils`` in documentation and add warning on import. diff --git a/Misc/NEWS.d/next/Library/2021-01-30-15-20-06.bpo-43077.Owk61z.rst b/Misc/NEWS.d/next/Library/2021-01-30-15-20-06.bpo-43077.Owk61z.rst deleted file mode 100644 index e555002433..0000000000 --- a/Misc/NEWS.d/next/Library/2021-01-30-15-20-06.bpo-43077.Owk61z.rst +++ /dev/null @@ -1 +0,0 @@ -Update the bundled pip to 21.0.1 and setuptools to 52.0.0.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-02-02-20-23-31.bpo-43108.lqcCZ6.rst b/Misc/NEWS.d/next/Library/2021-02-02-20-23-31.bpo-43108.lqcCZ6.rst deleted file mode 100644 index 8e45640bce..0000000000 --- a/Misc/NEWS.d/next/Library/2021-02-02-20-23-31.bpo-43108.lqcCZ6.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a reference leak in the :mod:`curses` module. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst b/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst deleted file mode 100644 index 7df65a156f..0000000000 --- a/Misc/NEWS.d/next/Security/2021-01-18-09-27-31.bpo-42938.4Zn4Mp.rst +++ /dev/null @@ -1,2 +0,0 @@ -Avoid static buffers when computing the repr of :class:`ctypes.c_double` and -:class:`ctypes.c_longdouble` values. diff --git a/Misc/NEWS.d/next/Tests/2020-05-30-10-56-38.bpo-40810.LPqDLQ.rst b/Misc/NEWS.d/next/Tests/2020-05-30-10-56-38.bpo-40810.LPqDLQ.rst deleted file mode 100644 index eafd94cabe..0000000000 --- a/Misc/NEWS.d/next/Tests/2020-05-30-10-56-38.bpo-40810.LPqDLQ.rst +++ /dev/null @@ -1 +0,0 @@ -In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for SQLite pre 3.7.15. diff --git a/Misc/NEWS.d/next/Tests/2020-05-30-13-39-22.bpo-40823.yB7K5w.rst b/Misc/NEWS.d/next/Tests/2020-05-30-13-39-22.bpo-40823.yB7K5w.rst deleted file mode 100644 index 55919521cf..0000000000 --- a/Misc/NEWS.d/next/Tests/2020-05-30-13-39-22.bpo-40823.yB7K5w.rst +++ /dev/null @@ -1,2 +0,0 @@ -Use :meth:`unittest.TestLoader().loadTestsFromTestCase` instead of -:meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Windows/2020-12-07-11-40-52.bpo-42584.AsYnVX.rst b/Misc/NEWS.d/next/Windows/2020-12-07-11-40-52.bpo-42584.AsYnVX.rst deleted file mode 100644 index afb6530c8f..0000000000 --- a/Misc/NEWS.d/next/Windows/2020-12-07-11-40-52.bpo-42584.AsYnVX.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade Windows installer to use SQLite 3.34.0. diff --git a/Misc/NEWS.d/next/Windows/2021-01-05-20-36-40.bpo-41837.bmS7vB.rst b/Misc/NEWS.d/next/Windows/2021-01-05-20-36-40.bpo-41837.bmS7vB.rst deleted file mode 100644 index 8d4bb34ff9..0000000000 --- a/Misc/NEWS.d/next/Windows/2021-01-05-20-36-40.bpo-41837.bmS7vB.rst +++ /dev/null @@ -1 +0,0 @@ -Updated Windows installer to include OpenSSL 1.1.1i diff --git a/Misc/NEWS.d/next/macOS/2021-01-26-14-36-11.bpo-42504.ZxWt71.rst b/Misc/NEWS.d/next/macOS/2021-01-26-14-36-11.bpo-42504.ZxWt71.rst deleted file mode 100644 index a47776effe..0000000000 --- a/Misc/NEWS.d/next/macOS/2021-01-26-14-36-11.bpo-42504.ZxWt71.rst +++ /dev/null @@ -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. diff --git a/README.rst b/README.rst index 3eae020b03..0d868c6861 100644 --- a/README.rst +++ b/README.rst @@ -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 |