diff options
author | Pablo Galindo <pablogsal@gmail.com> | 2022-01-13 19:36:27 (GMT) |
---|---|---|
committer | Pablo Galindo <pablogsal@gmail.com> | 2022-01-13 19:38:15 (GMT) |
commit | 9471106fd5b47418ffd2f90c6b729f58698f573e (patch) | |
tree | 8b14db8b8c623e6c367e24d58026a7c687cbdbe0 | |
parent | 1a4d1c1c9b08e75e88aeac90901920938f649832 (diff) | |
download | cpython-9471106fd5b47418ffd2f90c6b729f58698f573e.zip cpython-9471106fd5b47418ffd2f90c6b729f58698f573e.tar.gz cpython-9471106fd5b47418ffd2f90c6b729f58698f573e.tar.bz2 |
Python 3.11.0a4v3.11.0a4
119 files changed, 1339 insertions, 308 deletions
diff --git a/Include/patchlevel.h b/Include/patchlevel.h index 70205db..c7da348 100644 --- a/Include/patchlevel.h +++ b/Include/patchlevel.h @@ -20,10 +20,10 @@ #define PY_MINOR_VERSION 11 #define PY_MICRO_VERSION 0 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA -#define PY_RELEASE_SERIAL 3 +#define PY_RELEASE_SERIAL 4 /* Version as a string */ -#define PY_VERSION "3.11.0a3+" +#define PY_VERSION "3.11.0a4" /*--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 e31d2d8..5ce0542 100644 --- a/Lib/pydoc_data/topics.py +++ b/Lib/pydoc_data/topics.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Autogenerated by Sphinx on Wed Dec 8 22:23:59 2021 +# Autogenerated by Sphinx on Thu Jan 13 19:37:48 2022 topics = {'assert': 'The "assert" statement\n' '**********************\n' '\n' @@ -1142,11 +1142,17 @@ topics = {'assert': 'The "assert" statement\n' ' “variable-length” built-in types such as "int", ' '"bytes" and "tuple".\n' '\n' - '* Any non-string iterable may be assigned to ' - '*__slots__*. Mappings may\n' - ' also be used; however, in the future, special meaning ' - 'may be\n' - ' assigned to the values corresponding to each key.\n' + '* Any non-string *iterable* may be assigned to ' + '*__slots__*.\n' + '\n' + '* If a "dictionary" is used to assign *__slots__*, the ' + 'dictionary keys\n' + ' will be used as the slot names. The values of the ' + 'dictionary can be\n' + ' used to provide per-attribute docstrings that will be ' + 'recognised by\n' + ' "inspect.getdoc()" and displayed in the output of ' + '"help()".\n' '\n' '* "__class__" assignment works only if both classes have ' 'the same\n' @@ -2376,33 +2382,6 @@ topics = {'assert': 'The "assert" statement\n' ':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, ' '2]".\n' '\n' - 'Note:\n' - '\n' - ' There is a subtlety when the sequence is being modified by the ' - 'loop\n' - ' (this can only occur for mutable sequences, e.g. lists). An\n' - ' internal counter is used to keep track of which item is used ' - 'next,\n' - ' and this is incremented on each iteration. When this counter ' - 'has\n' - ' reached the length of the sequence the loop terminates. This ' - 'means\n' - ' that if the suite deletes the current (or a previous) item ' - 'from the\n' - ' sequence, the next item will be skipped (since it gets the ' - 'index of\n' - ' the current item which has already been treated). Likewise, ' - 'if the\n' - ' suite inserts an item in the sequence before the current item, ' - 'the\n' - ' current item will be treated again the next time through the ' - 'loop.\n' - ' This can lead to nasty bugs that can be avoided by making a\n' - ' temporary copy using a slice of the whole sequence, e.g.,\n' - '\n' - ' for x in a[:]:\n' - ' if x < 0: a.remove(x)\n' - '\n' '\n' 'The "try" statement\n' '===================\n' @@ -2411,13 +2390,18 @@ topics = {'assert': 'The "assert" statement\n' 'code\n' 'for a group of statements:\n' '\n' - ' try_stmt ::= try1_stmt | try2_stmt\n' + ' try_stmt ::= try1_stmt | try2_stmt | try3_stmt\n' ' try1_stmt ::= "try" ":" suite\n' ' ("except" [expression ["as" identifier]] ":" ' 'suite)+\n' ' ["else" ":" suite]\n' ' ["finally" ":" suite]\n' ' try2_stmt ::= "try" ":" suite\n' + ' ("except" "*" expression ["as" identifier] ":" ' + 'suite)+\n' + ' ["else" ":" suite]\n' + ' ["finally" ":" suite]\n' + ' try3_stmt ::= "try" ":" suite\n' ' "finally" ":" suite\n' '\n' 'The "except" clause(s) specify one or more exception handlers. ' @@ -2534,6 +2518,60 @@ topics = {'assert': 'The "assert" statement\n' ' >>> print(sys.exc_info())\n' ' (None, None, None)\n' '\n' + 'The "except*" clause(s) are used for handling "ExceptionGroup`s. ' + 'The\n' + 'exception type for matching is interpreted as in the case of\n' + ':keyword:`except", but in the case of exception groups we can ' + 'have\n' + 'partial matches when the type matches some of the exceptions in ' + 'the\n' + 'group. This means that multiple except* clauses can execute, ' + 'each\n' + 'handling part of the exception group. Each clause executes once ' + 'and\n' + 'handles an exception group of all matching exceptions. Each ' + 'exception\n' + 'in the group is handled by at most one except* clause, the first ' + 'that\n' + 'matches it.\n' + '\n' + ' >>> try:\n' + ' ... raise ExceptionGroup("eg",\n' + ' ... [ValueError(1), TypeError(2), OSError(3), ' + 'OSError(4)])\n' + ' ... except* TypeError as e:\n' + " ... print(f'caught {type(e)} with nested " + "{e.exceptions}')\n" + ' ... except* OSError as e:\n' + " ... print(f'caught {type(e)} with nested " + "{e.exceptions}')\n" + ' ...\n' + " caught <class 'ExceptionGroup'> with nested (TypeError(2),)\n" + " caught <class 'ExceptionGroup'> with nested (OSError(3), " + 'OSError(4))\n' + ' + Exception Group Traceback (most recent call last):\n' + ' | File "<stdin>", line 2, in <module>\n' + ' | ExceptionGroup: eg\n' + ' +-+---------------- 1 ----------------\n' + ' | ValueError: 1\n' + ' +------------------------------------\n' + ' >>>\n' + '\n' + ' Any remaining exceptions that were not handled by any except* ' + 'clause\n' + ' are re-raised at the end, combined into an exception group ' + 'along with\n' + ' all exceptions that were raised from within except* clauses.\n' + '\n' + ' An except* clause must have a matching type, and this type ' + 'cannot be a\n' + ' subclass of :exc:`BaseExceptionGroup`. It is not possible to ' + 'mix except\n' + ' and except* in the same :keyword:`try`. :keyword:`break`,\n' + ' :keyword:`continue` and :keyword:`return` cannot appear in an ' + 'except*\n' + ' clause.\n' + '\n' 'The optional "else" clause is executed if the control flow ' 'leaves the\n' '"try" suite, no exception was raised, and no "return", ' @@ -4620,17 +4658,16 @@ topics = {'assert': 'The "assert" statement\n' 'debugger will pause execution just before the first line of the\n' 'module.\n' '\n' - 'The typical usage to break into the debugger from a running ' - 'program is\n' - 'to insert\n' + 'The typical usage to break into the debugger is to insert:\n' '\n' ' import pdb; pdb.set_trace()\n' '\n' - 'at the location you want to break into the debugger. You can ' - 'then\n' - 'step through the code following this statement, and continue ' - 'running\n' - 'without the debugger using the "continue" command.\n' + 'at the location you want to break into the debugger, and then ' + 'run the\n' + 'program. You can then step through the code following this ' + 'statement,\n' + 'and continue running without the debugger using the "continue"\n' + 'command.\n' '\n' 'New in version 3.7: The built-in "breakpoint()", when called ' 'with\n' @@ -5897,30 +5934,7 @@ topics = {'assert': 'The "assert" statement\n' 'all by the loop. Hint: the built-in function "range()" returns an\n' 'iterator of integers suitable to emulate the effect of Pascal’s "for ' 'i\n' - ':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n' - '\n' - 'Note:\n' - '\n' - ' There is a subtlety when the sequence is being modified by the ' - 'loop\n' - ' (this can only occur for mutable sequences, e.g. lists). An\n' - ' internal counter is used to keep track of which item is used next,\n' - ' and this is incremented on each iteration. When this counter has\n' - ' reached the length of the sequence the loop terminates. This ' - 'means\n' - ' that if the suite deletes the current (or a previous) item from ' - 'the\n' - ' sequence, the next item will be skipped (since it gets the index ' - 'of\n' - ' the current item which has already been treated). Likewise, if ' - 'the\n' - ' suite inserts an item in the sequence before the current item, the\n' - ' current item will be treated again the next time through the loop.\n' - ' This can lead to nasty bugs that can be avoided by making a\n' - ' temporary copy using a slice of the whole sequence, e.g.,\n' - '\n' - ' for x in a[:]:\n' - ' if x < 0: a.remove(x)\n', + ':= a to b do"; e.g., "list(range(3))" returns the list "[0, 1, 2]".\n', 'formatstrings': 'Format String Syntax\n' '********************\n' '\n' @@ -9934,11 +9948,16 @@ topics = {'assert': 'The "assert" statement\n' ' “variable-length” built-in types such as "int", "bytes" ' 'and "tuple".\n' '\n' - '* Any non-string iterable may be assigned to *__slots__*. ' - 'Mappings may\n' - ' also be used; however, in the future, special meaning may ' - 'be\n' - ' assigned to the values corresponding to each key.\n' + '* Any non-string *iterable* may be assigned to *__slots__*.\n' + '\n' + '* If a "dictionary" is used to assign *__slots__*, the ' + 'dictionary keys\n' + ' will be used as the slot names. The values of the ' + 'dictionary can be\n' + ' used to provide per-attribute docstrings that will be ' + 'recognised by\n' + ' "inspect.getdoc()" and displayed in the output of ' + '"help()".\n' '\n' '* "__class__" assignment works only if both classes have the ' 'same\n' @@ -11504,9 +11523,9 @@ topics = {'assert': 'The "assert" statement\n' ' >>> from keyword import iskeyword\n' '\n' " >>> 'hello'.isidentifier(), iskeyword('hello')\n" - ' True, False\n' + ' (True, False)\n' " >>> 'def'.isidentifier(), iskeyword('def')\n" - ' True, True\n' + ' (True, True)\n' '\n' 'str.islower()\n' '\n' @@ -11857,7 +11876,7 @@ topics = {'assert': 'The "assert" statement\n' " >>> ' 1 2 3 '.split()\n" " ['1', '2', '3']\n" '\n' - 'str.splitlines([keepends])\n' + 'str.splitlines(keepends=False)\n' '\n' ' Return a list of the lines in the string, breaking at ' 'line\n' @@ -12432,13 +12451,18 @@ topics = {'assert': 'The "assert" statement\n' 'The "try" statement specifies exception handlers and/or cleanup code\n' 'for a group of statements:\n' '\n' - ' try_stmt ::= try1_stmt | try2_stmt\n' + ' try_stmt ::= try1_stmt | try2_stmt | try3_stmt\n' ' try1_stmt ::= "try" ":" suite\n' ' ("except" [expression ["as" identifier]] ":" ' 'suite)+\n' ' ["else" ":" suite]\n' ' ["finally" ":" suite]\n' ' try2_stmt ::= "try" ":" suite\n' + ' ("except" "*" expression ["as" identifier] ":" ' + 'suite)+\n' + ' ["else" ":" suite]\n' + ' ["finally" ":" suite]\n' + ' try3_stmt ::= "try" ":" suite\n' ' "finally" ":" suite\n' '\n' 'The "except" clause(s) specify one or more exception handlers. When ' @@ -12538,6 +12562,53 @@ topics = {'assert': 'The "assert" statement\n' ' >>> print(sys.exc_info())\n' ' (None, None, None)\n' '\n' + 'The "except*" clause(s) are used for handling "ExceptionGroup`s. The\n' + 'exception type for matching is interpreted as in the case of\n' + ':keyword:`except", but in the case of exception groups we can have\n' + 'partial matches when the type matches some of the exceptions in the\n' + 'group. This means that multiple except* clauses can execute, each\n' + 'handling part of the exception group. Each clause executes once and\n' + 'handles an exception group of all matching exceptions. Each ' + 'exception\n' + 'in the group is handled by at most one except* clause, the first ' + 'that\n' + 'matches it.\n' + '\n' + ' >>> try:\n' + ' ... raise ExceptionGroup("eg",\n' + ' ... [ValueError(1), TypeError(2), OSError(3), ' + 'OSError(4)])\n' + ' ... except* TypeError as e:\n' + " ... print(f'caught {type(e)} with nested {e.exceptions}')\n" + ' ... except* OSError as e:\n' + " ... print(f'caught {type(e)} with nested {e.exceptions}')\n" + ' ...\n' + " caught <class 'ExceptionGroup'> with nested (TypeError(2),)\n" + " caught <class 'ExceptionGroup'> with nested (OSError(3), " + 'OSError(4))\n' + ' + Exception Group Traceback (most recent call last):\n' + ' | File "<stdin>", line 2, in <module>\n' + ' | ExceptionGroup: eg\n' + ' +-+---------------- 1 ----------------\n' + ' | ValueError: 1\n' + ' +------------------------------------\n' + ' >>>\n' + '\n' + ' Any remaining exceptions that were not handled by any except* ' + 'clause\n' + ' are re-raised at the end, combined into an exception group along ' + 'with\n' + ' all exceptions that were raised from within except* clauses.\n' + '\n' + ' An except* clause must have a matching type, and this type cannot ' + 'be a\n' + ' subclass of :exc:`BaseExceptionGroup`. It is not possible to mix ' + 'except\n' + ' and except* in the same :keyword:`try`. :keyword:`break`,\n' + ' :keyword:`continue` and :keyword:`return` cannot appear in an ' + 'except*\n' + ' clause.\n' + '\n' 'The optional "else" clause is executed if the control flow leaves ' 'the\n' '"try" suite, no exception was raised, and no "return", "continue", ' @@ -13814,9 +13885,9 @@ topics = {'assert': 'The "assert" statement\n' '"dict"\n' 'constructor.\n' '\n' - 'class dict(**kwarg)\n' - 'class dict(mapping, **kwarg)\n' - 'class dict(iterable, **kwarg)\n' + 'class dict(**kwargs)\n' + 'class dict(mapping, **kwargs)\n' + 'class dict(iterable, **kwargs)\n' '\n' ' Return a new dictionary initialized from an optional ' 'positional\n' @@ -14466,6 +14537,14 @@ topics = {'assert': 'The "assert" statement\n' 'Comparisons in\n' 'the language reference.)\n' '\n' + 'Forward and reversed iterators over mutable sequences access ' + 'values\n' + 'using an index. That index will continue to march forward (or\n' + 'backward) even if the underlying sequence is mutated. The ' + 'iterator\n' + 'terminates only when an "IndexError" or a "StopIteration" is\n' + 'encountered (or when the index drops below zero).\n' + '\n' 'Notes:\n' '\n' '1. While the "in" and "not in" operations are used only for ' @@ -14937,7 +15016,8 @@ topics = {'assert': 'The "assert" statement\n' '\n' ' The arguments to the range constructor must be integers ' '(either\n' - ' built-in "int" or any object that implements the "__index__"\n' + ' built-in "int" or any object that implements the ' + '"__index__()"\n' ' special method). If the *step* argument is omitted, it ' 'defaults to\n' ' "1". If the *start* argument is omitted, it defaults to "0". ' diff --git a/Misc/NEWS.d/3.11.0a4.rst b/Misc/NEWS.d/3.11.0a4.rst new file mode 100644 index 0000000..2391f43 --- /dev/null +++ b/Misc/NEWS.d/3.11.0a4.rst @@ -0,0 +1,1177 @@ +.. bpo: 46070 +.. date: 2022-01-13-17-58-56 +.. nonce: q8IGth +.. release date: 2022-01-13 +.. section: Core and Builtins + +:c:func:`Py_EndInterpreter` now explicitly untracks all objects currently +tracked by the GC. Previously, if an object was used later by another +interpreter, calling :c:func:`PyObject_GC_UnTrack` on the object crashed if +the previous or the next object of the :c:type:`PyGC_Head` structure became +a dangling pointer. Patch by Victor Stinner. + +.. + +.. bpo: 46347 +.. date: 2022-01-11-13-57-00 +.. nonce: Gd8M-S +.. section: Core and Builtins + +Fix memory leak in PyEval_EvalCodeEx. + +.. + +.. bpo: 46339 +.. date: 2022-01-11-11-50-19 +.. nonce: OVumDZ +.. section: Core and Builtins + +Fix a crash in the parser when retrieving the error text for multi-line +f-strings expressions that do not start in the first line of the string. +Patch by Pablo Galindo + +.. + +.. bpo: 46331 +.. date: 2022-01-10-16-21-54 +.. nonce: h1AC-i +.. section: Core and Builtins + +Do not set line number of instruction storing doc-string. Fixes regression +introduced in 3.11 alpha. + +.. + +.. bpo: 46314 +.. date: 2022-01-10-12-34-17 +.. nonce: jId9Ky +.. section: Core and Builtins + +Remove spurious "call" event when creating a lambda function that was +accidentally introduced in 3.11a4. + +.. + +.. bpo: 46289 +.. date: 2022-01-07-23-32-03 +.. nonce: NnjpVc +.. section: Core and Builtins + +ASDL declaration of ``FormattedValue`` has changed to reflect ``conversion`` +field is not optional. + +.. + +.. bpo: 46297 +.. date: 2022-01-07-22-13-59 +.. nonce: 83ThTl +.. section: Core and Builtins + +Fixed an interpreter crash on bootup with multiple PythonPaths set in the +Windows registry. Patch by Derzsi Dániel. + +.. + +.. bpo: 46237 +.. date: 2022-01-07-19-33-05 +.. nonce: 9A6Hpq +.. section: Core and Builtins + +Fix the line number of tokenizer errors inside f-strings. Patch by Pablo +Galindo. + +.. + +.. bpo: 46263 +.. date: 2022-01-06-10-54-07 +.. nonce: 60dRZb +.. section: Core and Builtins + +We always expect the "use_frozen_modules" config to be set, now that +getpath.c was rewritten in pure Python and the logic improved. + +.. + +.. bpo: 46006 +.. date: 2022-01-05-17-13-47 +.. nonce: hdH5Vn +.. section: Core and Builtins + +Fix a regression when a type method like ``__init__()`` is modified in a +subinterpreter. Fix a regression in ``_PyUnicode_EqualToASCIIId()`` and type +``update_slot()``. Revert the change which made the Unicode dictionary of +interned strings compatible with subinterpreters: the internal interned +dictionary is shared again by all interpreters. Patch by Victor Stinner. + +.. + +.. bpo: 45923 +.. date: 2022-01-04-14-08-10 +.. nonce: rBp7r1 +.. section: Core and Builtins + +Add RESUME opcode. This is a logical no-op. It is emitted by the compiler +anywhere a Python function can be entered. It is used by the interpreter to +perform tracing and optimizer checks. + +.. + +.. bpo: 46208 +.. date: 2022-01-04-01-53-35 +.. nonce: i00Vz5 +.. section: Core and Builtins + +Fix the regression of os.path.normpath("A/../../B") not returning expected +"../B" but "B". + +.. + +.. bpo: 46240 +.. date: 2022-01-03-23-31-25 +.. nonce: 8lGjeK +.. section: Core and Builtins + +Correct the error message for unclosed parentheses when the tokenizer +doesn't reach the end of the source when the error is reported. Patch by +Pablo Galindo + +.. + +.. bpo: 46009 +.. date: 2022-01-03-11-36-34 +.. nonce: QZGrov +.. section: Core and Builtins + +Remove the ``GEN_START`` opcode. + +.. + +.. bpo: 46235 +.. date: 2022-01-02-23-55-13 +.. nonce: gUjp2v +.. section: Core and Builtins + +Certain sequence multiplication operations like ``[0] * 1_000`` are now +faster due to reference-counting optimizations. Patch by Dennis Sweeney. + +.. + +.. bpo: 46221 +.. date: 2022-01-01-14-23-57 +.. nonce: 7oGp-I +.. section: Core and Builtins + +:opcode:`PREP_RERAISE_STAR` no longer pushes ``lasti`` to the stack. + +.. + +.. bpo: 46202 +.. date: 2021-12-30-11-06-27 +.. nonce: IKx4v6 +.. section: Core and Builtins + +Remove :opcode:`POP_EXCEPT_AND_RERAISE` and replace it by an equivalent +sequence of other opcodes. + +.. + +.. bpo: 46085 +.. date: 2021-12-30-00-23-41 +.. nonce: bDuJqu +.. section: Core and Builtins + +Fix iterator cache mechanism of :class:`OrderedDict`. + +.. + +.. bpo: 46055 +.. date: 2021-12-24-20-21-45 +.. nonce: R0QMVQ +.. section: Core and Builtins + +Speed up shifting operation involving integers less than +:c:macro:`PyLong_BASE`. Patch by Xinhang Xu. + +.. + +.. bpo: 46110 +.. date: 2021-12-18-02-37-07 +.. nonce: B6hAfu +.. section: Core and Builtins + +Add a maximum recursion check to the PEG parser to avoid stack overflow. +Patch by Pablo Galindo + +.. + +.. bpo: 46107 +.. date: 2021-12-16-23-27-05 +.. nonce: 7q5an0 +.. section: Core and Builtins + +Fix bug where :meth:`ExceptionGroup.split` and +:meth:`ExceptionGroup.subgroup` did not copy the exception group's +``__note__`` field to the parts. + +.. + +.. bpo: 45711 +.. date: 2021-12-15-15-17-04 +.. nonce: QK4QrB +.. section: Core and Builtins + +The interpreter state's representation of handled exceptions (a.k.a +exc_info, or _PyErr_StackItem) now has only the ``exc_value`` field, +``exc_type`` and ``exc_traceback`` have been removed as their values can be +derived from ``exc_value``. + +.. + +.. bpo: 44525 +.. date: 2021-12-13-17-12-16 +.. nonce: 4-FiSf +.. section: Core and Builtins + +Replace the four call bytecode instructions which one pre-call instruction +and two call instructions. + +Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and +``CALL_METHOD_KW``. + +Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and +``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``. + +.. + +.. bpo: 46039 +.. date: 2021-12-13-17-01-13 +.. nonce: TrCBbF +.. section: Core and Builtins + +Remove the ``YIELD_FROM`` instruction and replace it with the ``SEND`` +instruction which performs the same operation, but without the loop. + +.. + +.. bpo: 45635 +.. date: 2021-12-12-15-52-41 +.. nonce: ADVaPT +.. section: Core and Builtins + +The code called from :c:func:`_PyErr_Display` was refactored to improve +error handling. It now exits immediately upon an unrecoverable error. + +.. + +.. bpo: 46054 +.. date: 2021-12-12-05-30-21 +.. nonce: 2P-foG +.. section: Core and Builtins + +Fix parser error when parsing non-utf8 characters in source files. Patch by +Pablo Galindo. + +.. + +.. bpo: 46042 +.. date: 2021-12-11-17-40-34 +.. nonce: aqYxku +.. section: Core and Builtins + +Improve the location of the caret in :exc:`SyntaxError` exceptions emitted +by the symbol table. Patch by Pablo Galindo. + +.. + +.. bpo: 46049 +.. date: 2021-12-11-13-49-19 +.. nonce: 9dNto2 +.. section: Core and Builtins + +Ensure :file:`._pth` files work as intended on platforms other than Windows. + +.. + +.. bpo: 46048 +.. date: 2021-12-11-13-14-42 +.. nonce: _-OGD9 +.. section: Core and Builtins + +Fixes parsing of :file:`._pth` files on startup so that single-character +paths are correctly read. + +.. + +.. bpo: 37971 +.. date: 2021-12-10-13-42-17 +.. nonce: 6BC1Tx +.. section: Core and Builtins + +Fix a bug where the line numbers given in a traceback when a decorator +application raised an exception were wrong. + +.. + +.. bpo: 46031 +.. date: 2021-12-10-09-10-32 +.. nonce: rM7JOX +.. section: Core and Builtins + +Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:`POP_JUMP_IF_NONE` opcodes to +speed up conditional jumps. + +.. + +.. bpo: 45654 +.. date: 2021-12-09-11-57-43 +.. nonce: MZc7ei +.. section: Core and Builtins + +Deepfreeze :mod:`runpy`, patch by Kumar Aditya. + +.. + +.. bpo: 46025 +.. date: 2021-12-09-11-41-35 +.. nonce: pkEvW9 +.. section: Core and Builtins + +Fix a crash in the :mod:`atexit` module involving functions that unregister +themselves before raising exceptions. Patch by Pablo Galindo. + +.. + +.. bpo: 46000 +.. date: 2021-12-07-11-42-44 +.. nonce: v_ru3k +.. section: Core and Builtins + +Improve compatibility of the :mod:`curses` module with NetBSD curses. + +.. + +.. bpo: 44525 +.. date: 2021-12-07-11-04-21 +.. nonce: 6OWCgr +.. section: Core and Builtins + +Specialize the CALL_FUNCTION instruction for calls to builtin types with a +single argument. Speeds up ``range(x)``, ``list(x)``, and specifically +``type(obj)``. + +.. + +.. bpo: 42918 +.. date: 2021-12-06-15-32-12 +.. nonce: Czpgtg +.. section: Core and Builtins + +Fix bug where the built-in :func:`compile` function did not always raise a +:exc:`SyntaxError` when passed multiple statements in 'single' mode. Patch +by Weipeng Hong. + +.. + +.. bpo: 45953 +.. date: 2021-12-01-11-54-27 +.. nonce: 2znR0E +.. section: Core and Builtins + +The main interpreter in _PyRuntimeState.interpreters is now statically +allocated (as part of _PyRuntime). Likewise for the initial thread state of +each interpreter. This means less allocation during runtime init, as well +as better memory locality for these key state objects. + +.. + +.. bpo: 45292 +.. date: 2021-11-22-13-05-32 +.. nonce: pfEouJ +.. section: Core and Builtins + +Complete the :pep:`654` implementation: add ``except*``. + +.. + +.. bpo: 43413 +.. date: 2021-05-30-16-37-47 +.. nonce: vYFPPC1 +.. section: Core and Builtins + +Revert changes in ``set.__init__``. Subclass of :class:`set` needs to define +a ``__init__()`` method if it defines a ``__new__()`` method with additional +keyword parameters. + +.. + +.. bpo: 43931 +.. date: 2021-04-24-15-39-23 +.. nonce: zpChDi +.. section: Core and Builtins + +Added the :c:data:`Py_Version` constant which bears the same value as +:c:macro:`PY_VERSION_HEX`. Patch by Gabriele N. Tornetta. + +.. + +.. bpo: 46342 +.. date: 2022-01-11-04-28-09 +.. nonce: 5QVEH1 +.. section: Library + +The ``@typing.final`` decorator now sets the ``__final__`` attribute on the +decorated object to allow runtime introspection. Patch by Jelle Zijlstra. + +.. + +.. bpo: 46328 +.. date: 2022-01-10-11-53-15 +.. nonce: 6i9Wvq +.. section: Library + +Added the :meth:`sys.exception` method which returns the active exception +instance. + +.. + +.. bpo: 46307 +.. date: 2022-01-10-07-51-43 +.. nonce: SKvOIY +.. section: Library + +Add :meth:`string.Template.is_valid` and +:meth:`string.Template.get_identifiers` methods. + +.. + +.. bpo: 46306 +.. date: 2022-01-08-13-53-25 +.. nonce: 1_es8z +.. section: Library + +Assume that :class:`types.CodeType` always has +:attr:`types.CodeType.co_firstlineno` in :mod:`doctest`. + +.. + +.. bpo: 40479 +.. date: 2022-01-07-15-20-19 +.. nonce: EKfr3F +.. section: Library + +Fix :mod:`hashlib` *usedforsecurity* option to work correctly with OpenSSL +3.0.0 in FIPS mode. + +.. + +.. bpo: 46070 +.. date: 2022-01-07-13-51-22 +.. nonce: -axLUW +.. section: Library + +Fix possible segfault when importing the :mod:`asyncio` module from +different sub-interpreters in parallel. Patch by Erlend E. Aasland. + +.. + +.. bpo: 46244 +.. date: 2022-01-06-21-31-14 +.. nonce: hjyfJj +.. section: Library + +Removed ``__slots__`` from :class:`typing.ParamSpec` and +:class:`typing.TypeVar`. They served no purpose. Patch by Arie Bovenberg. + +.. + +.. bpo: 46278 +.. date: 2022-01-06-13-38-00 +.. nonce: wILA80 +.. section: Library + +Reflect ``context`` argument in ``AbstractEventLoop.call_*()`` methods. Loop +implementations already support it. + +.. + +.. bpo: 46269 +.. date: 2022-01-05-18-16-13 +.. nonce: K16Z1S +.. section: Library + +Remove special-casing of ``__new__`` in :meth:`enum.Enum.__dir__`. + +.. + +.. bpo: 46266 +.. date: 2022-01-05-12-48-18 +.. nonce: ACQCgX +.. section: Library + +Improve day constants in :mod:`calendar`. + +Now all constants (`MONDAY` ... `SUNDAY`) are documented, tested, and added +to ``__all__``. + +.. + +.. bpo: 46257 +.. date: 2022-01-04-11-04-20 +.. nonce: _o2ADe +.. section: Library + +Optimized the mean, variance, and stdev functions in the statistics module. +If the input is an iterator, it is consumed in a single pass rather than +eating memory by conversion to a list. The single pass algorithm is about +twice as fast as the previous two pass code. + +.. + +.. bpo: 41011 +.. date: 2022-01-03-21-03-50 +.. nonce: uULmGi +.. section: Library + +Added two new variables to *pyvenv.cfg* which is generated by :mod:`venv` +module: *executable* for the executable and *command* for the command line +used to create the environment. + +.. + +.. bpo: 46239 +.. date: 2022-01-03-12-59-20 +.. nonce: ySVSEy +.. section: Library + +Improve error message when importing :mod:`asyncio.windows_events` on +non-Windows. + +.. + +.. bpo: 46238 +.. date: 2022-01-03-12-19-10 +.. nonce: lANhCi +.. section: Library + +Reuse ``_winapi`` constants in ``asyncio.windows_events``. + +.. + +.. bpo: 46222 +.. date: 2022-01-01-17-34-32 +.. nonce: s2fzZU +.. section: Library + +Adding ``SF_NOCACHE`` sendfile constant for FreeBSD for the posixmodule. + +.. + +.. bpo: 37295 +.. date: 2021-12-27-15-52-28 +.. nonce: s3LPo0 +.. section: Library + +Add fast path for ``0 <= k <= n <= 67`` for :func:`math.comb`. + +.. + +.. bpo: 46176 +.. date: 2021-12-25-11-11-21 +.. nonce: EOY9wd +.. section: Library + +Adding the ``MAP_STACK`` constant for the mmap module. + +.. + +.. bpo: 43424 +.. date: 2021-12-23-14-36-58 +.. nonce: d9x2JZ +.. section: Library + +Deprecate :attr:`webbrowser.MacOSXOSAScript._name` and use ``name`` instead. + +.. + +.. bpo: 45321 +.. date: 2021-12-19-00-00-48 +.. nonce: OyuhaY +.. section: Library + +Added missing error codes to module ``xml.parsers.expat.errors``. + +.. + +.. bpo: 46125 +.. date: 2021-12-18-18-29-07 +.. nonce: LLmcox +.. section: Library + +Refactor tests to test traversable API directly. Includes changes from +importlib 5.4.0. + +.. + +.. bpo: 46118 +.. date: 2021-12-17-16-27-44 +.. nonce: euAy0E +.. section: Library + +Moved importlib.resources and its related functionality to a package. + +.. + +.. bpo: 37578 +.. date: 2021-12-17-13-22-37 +.. nonce: _tluuR +.. section: Library + +Add *include_hidden* parameter to :func:`~glob.glob` and :func:`~glob.iglob` +to match hidden files and directories when using special characters like +``*``, ``**``, ``?`` and ``[]``. + +.. + +.. bpo: 20369 +.. date: 2021-12-17-12-06-40 +.. nonce: zzLuBz +.. section: Library + +:func:`concurrent.futures.wait` no longer blocks forever when given +duplicate Futures. Patch by Kumar Aditya. + +.. + +.. bpo: 46105 +.. date: 2021-12-16-14-30-36 +.. nonce: pprB1K +.. section: Library + +Honor spec when generating requirement specs with urls and extras +(importlib_metadata 4.8.3). + +.. + +.. bpo: 44893 +.. date: 2021-12-16-13-54-55 +.. nonce: I7aLiW +.. section: Library + +EntryPoint objects are no longer tuples. Recommended means to access is by +attribute ('.name', '.group') or accessor ('.load()'). Access by index is +deprecated and will raise deprecation warning. + +.. + +.. bpo: 22815 +.. date: 2021-12-16-12-54-21 +.. nonce: 0NRH8s +.. section: Library + +Print unexpected successes together with failures and errors in summary in +:class:`unittest.TextTestResult`. + +.. + +.. bpo: 22047 +.. date: 2021-12-15-19-24-54 +.. nonce: gBV4vT +.. section: Library + +Calling :meth:`add_argument_group` on an argument group is deprecated. +Calling :meth:`add_argument_group` or :meth:`add_mutually_exclusive_group` +on a mutually exclusive group is deprecated. + +These features were never supported and do not always work correctly. The +functions exist on the API by accident through inheritance and will be +removed in the future. + +.. + +.. bpo: 26952 +.. date: 2021-12-14-13-18-45 +.. nonce: hjhISq +.. section: Library + +:mod:`argparse` raises :exc:`ValueError` with clear message when trying to +render usage for an empty mutually-exclusive group. Previously it raised a +cryptic :exc:`IndexError`. + +.. + +.. bpo: 45615 +.. date: 2021-12-13-15-51-16 +.. nonce: hVx83Q +.. section: Library + +Functions in the :mod:`traceback` module raise :exc:`TypeError` rather than +:exc:`AttributeError` when an exception argument is not of type +:exc:`BaseException`. + +.. + +.. bpo: 16594 +.. date: 2021-12-12-13-41-47 +.. nonce: yfC7L4 +.. section: Library + +Add allow allow_reuse_port flag in socketserver. + +.. + +.. bpo: 27718 +.. date: 2021-12-11-22-51-30 +.. nonce: MgQiGl +.. section: Library + +Fix help for the :mod:`signal` module. Some functions (e.g. ``signal()`` and +``getsignal()``) were omitted. + +.. + +.. bpo: 46032 +.. date: 2021-12-11-15-45-07 +.. nonce: HmciLT +.. section: Library + +The ``registry()`` method of :func:`functools.singledispatch` functions +checks now the first argument or the first parameter annotation and raises a +TypeError if it is not supported. Previously unsupported "types" were +ignored (e.g. ``typing.List[int]``) or caused an error at calling time (e.g. +``list[int]``). + +.. + +.. bpo: 46014 +.. date: 2021-12-10-03-13-57 +.. nonce: 3xYdST +.. section: Library + +Add ability to use ``typing.Union`` and ``types.UnionType`` as dispatch +argument to ``functools.singledispatch``. Patch provided by Yurii Karabas. + +.. + +.. bpo: 27062 +.. date: 2021-12-09-11-50-32 +.. nonce: R5vii6 +.. section: Library + +Add :attr:`__all__` to :mod:`inspect`, patch by Kumar Aditya. + +.. + +.. bpo: 46018 +.. date: 2021-12-09-00-44-42 +.. nonce: hkTI7v +.. section: Library + +Ensure that :func:`math.expm1` does not raise on underflow. + +.. + +.. bpo: 46016 +.. date: 2021-12-08-19-15-03 +.. nonce: s9PuyF +.. section: Library + +Adding :attr:`F_DUP2FD` and :attr:`F_DUP2FD_CLOEXEC` constants from FreeBSD +into the fcntl module. + +.. + +.. bpo: 45755 +.. date: 2021-12-07-21-55-22 +.. nonce: bRqKGa +.. section: Library + +:mod:`typing` generic aliases now reveal the class attributes of the +original generic class when passed to ``dir()``. This was the behavior up to +Python 3.6, but was changed in 3.7-3.9. + +.. + +.. bpo: 45874 +.. date: 2021-12-02-11-55-45 +.. nonce: dtJIsN +.. section: Library + +The empty query string, consisting of no query arguments, is now handled +correctly in ``urllib.parse.parse_qsl``. This caused problems before when +strict parsing was enabled. + +.. + +.. bpo: 44674 +.. date: 2021-11-29-19-37-20 +.. nonce: NijWLt +.. section: Library + +Change how dataclasses disallows mutable default values. It used to use a +list of known types (list, dict, set). Now it disallows unhashable objects +to be defaults. It's using unhashability as a proxy for mutability. Patch +by Eric V. Smith, idea by Raymond Hettinger. + +.. + +.. bpo: 23882 +.. date: 2021-11-24-19-09-14 +.. nonce: _tctCv +.. section: Library + +Remove namespace package (PEP 420) support from unittest discovery. It was +introduced in Python 3.4 but has been broken since Python 3.7. + +.. + +.. bpo: 25066 +.. date: 2021-11-24-12-25-42 +.. nonce: YIcIkn +.. section: Library + +Added a :meth:`__repr__` method to :class:`multiprocessing.Event` objects, +patch by Kumar Aditya. + +.. + +.. bpo: 45643 +.. date: 2021-10-28-11-40-59 +.. nonce: jeiPiX +.. section: Library + +Added :data:`signal.SIGSTKFLT` on platforms where this signal is defined. + +.. + +.. bpo: 44092 +.. date: 2021-05-19-12-35-49 +.. nonce: hiSlI5 +.. section: Library + +Fetch across rollback no longer raises :exc:`~sqlite3.InterfaceError`. +Instead we leave it to the SQLite library to handle these cases. Patch by +Erlend E. Aasland. + +.. + +.. bpo: 42413 +.. date: 2020-11-26-10-23-46 +.. nonce: HFikOl +.. section: Library + +Replace ``concurrent.futures.TimeoutError`` and ``asyncio.TimeoutError`` +with builtin :exc:`TimeoutError`, keep these names as deprecated aliases. + +.. + +.. bpo: 46196 +.. date: 2021-12-30-19-12-24 +.. nonce: UvQ8Sq +.. section: Documentation + +Document method :meth:`cmd.Cmd.columnize`. + +.. + +.. bpo: 46120 +.. date: 2021-12-21-12-45-57 +.. nonce: PE0DmJ +.. section: Documentation + +State that ``|`` is preferred for readability over ``Union`` in the +:mod:`typing` docs. + +.. + +.. bpo: 46109 +.. date: 2021-12-16-21-13-55 +.. nonce: 0-RNzu +.. section: Documentation + +Extracted ``importlib.resources`` and ``importlib.resources.abc`` +documentation into separate files. + +.. + +.. bpo: 19737 +.. date: 2021-11-28-22-43-21 +.. nonce: cOOubB +.. section: Documentation + +Update the documentation for the :func:`globals` function. + +.. + +.. bpo: 46296 +.. date: 2022-01-08-00-00-38 +.. nonce: vqxgTm +.. section: Tests + +Add a test case for :mod:`enum` with ``_use_args_ == True`` and +``_member_type_ == object``. + +.. + +.. bpo: 46205 +.. date: 2022-01-07-14-06-12 +.. nonce: dnc2OC +.. section: Tests + +Fix hang in runtest_mp due to race condition + +.. + +.. bpo: 46263 +.. date: 2022-01-06-15-45-34 +.. nonce: bJXek6 +.. section: Tests + +Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not fill freed memory +with junk byte. + +.. + +.. bpo: 46262 +.. date: 2022-01-05-01-38-45 +.. nonce: MhiLWP +.. section: Tests + +Cover ``ValueError`` path in tests for :meth:`enum.Flag._missing_`. + +.. + +.. bpo: 46150 +.. date: 2021-12-23-13-42-15 +.. nonce: RhtADs +.. section: Tests + +Now ``fakename`` in ``test_pathlib.PosixPathTest.test_expanduser`` is +checked to be non-existent. + +.. + +.. bpo: 46129 +.. date: 2021-12-19-12-20-57 +.. nonce: I3MunH +.. section: Tests + +Rewrite ``asyncio.locks`` tests with +:class:`unittest.IsolatedAsyncioTestCase` usage. + +.. + +.. bpo: 23819 +.. date: 2021-12-19-08-44-32 +.. nonce: 9ueiII +.. section: Tests + +Fixed :mod:`asyncio` tests in python optimized mode. Patch by Kumar Aditya. + +.. + +.. bpo: 46114 +.. date: 2021-12-17-14-46-19 +.. nonce: 9iyZ_9 +.. section: Tests + +Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses ``0xMNN00PP0L``. + +.. + +.. bpo: 44133 +.. date: 2022-01-12-13-42-16 +.. nonce: NgyNAh +.. section: Build + +When Python is configured with :option:`--without-static-libpython`, the +Python static library (libpython.a) is no longer built. Patch by Victor +Stinner. + +.. + +.. bpo: 44133 +.. date: 2022-01-12-13-34-52 +.. nonce: HYCNXb +.. section: Build + +When Python is built without :option:`--enable-shared`, the ``python`` +program is now linked to object files, rather than being linked to the +Python static library (libpython.a), to make sure that all symbols are +exported. Previously, the linker omitted some symbols like the +:c:func:`Py_FrozenMain` function. Patch by Victor Stinner. + +.. + +.. bpo: 40280 +.. date: 2022-01-12-10-22-23 +.. nonce: 5maBz8 +.. section: Build + +The ``configure`` script has a new option ``--with-emscripten-target`` to +select browser or node as Emscripten build target. + +.. + +.. bpo: 46315 +.. date: 2022-01-09-15-48-49 +.. nonce: NdCRLu +.. section: Build + +Added and fixed ``#ifdef HAVE_FEATURE`` checks for functionality that is not +available on WASI platform. + +.. + +.. bpo: 45723 +.. date: 2022-01-07-08-33-45 +.. nonce: uq2nBU +.. section: Build + +Fixed a regression in ``configure`` check for :func:`select.epoll`. + +.. + +.. bpo: 46263 +.. date: 2022-01-05-02-58-10 +.. nonce: xiv8NU +.. section: Build + +``configure`` no longer sets ``MULTIARCH`` on FreeBSD platforms. + +.. + +.. bpo: 46106 +.. date: 2021-12-20-07-10-41 +.. nonce: 5qcv3L +.. section: Build + +Updated OpenSSL to 1.1.1m in Windows builds, macOS installer builds, and CI. +Patch by Kumar Aditya. + +.. + +.. bpo: 46088 +.. date: 2021-12-16-14-18-07 +.. nonce: 8UUuAd +.. section: Build + +Automatically detect or install bootstrap Python runtime when building from +Visual Studio. + +.. + +.. bpo: 46072 +.. date: 2021-12-15-10-37-44 +.. nonce: GgeAU3 +.. section: Build + +Add a --with-pystats configure option to turn on internal statistics +gathering. + +.. + +.. bpo: 40280 +.. date: 2021-12-13-21-03-52 +.. nonce: b7NG4Y +.. section: Build + +A new directory ``Tools/wasm`` contains WebAssembly-related helpers like +``config.site`` override for wasm32-emscripten, wasm assets generator to +bundle the stdlib, and a README. + +.. + +.. bpo: 46023 +.. date: 2021-12-09-10-25-11 +.. nonce: PLpNB6 +.. section: Build + +:program:`makesetup` no longer builds extensions that have been marked as +*disabled*. This allows users to disable modules in ``Modules/Setup.local``. + +.. + +.. bpo: 45949 +.. date: 2021-12-02-23-21-18 +.. nonce: OTSo9X +.. section: Build + +Use pure Python ``freeze_module`` for all but importlib bootstrap files. +``--with-freeze-module`` :program:`configure` option is no longer needed for +cross builds. + +.. + +.. bpo: 46217 +.. date: 2022-01-07-22-55-11 +.. nonce: tgJEsB +.. section: Windows + +Removed parameter that is unsupported on Windows 8.1 and early Windows 10 +and may have caused build or runtime failures. + +.. + +.. bpo: 40477 +.. date: 2022-01-02-21-56-53 +.. nonce: W3nnM6 +.. section: macOS + +The Python Launcher app for macOS now properly launches scripts and, if +necessary, the Terminal app when running on recent macOS releases. + +.. + +.. bpo: 46236 +.. date: 2022-01-05-10-16-16 +.. nonce: pcmVQw +.. section: C API + +Fix a bug in :c:func:`PyFunction_GetAnnotations` that caused it to return a +``tuple`` instead of a ``dict``. + +.. + +.. bpo: 46140 +.. date: 2021-12-21-22-56-36 +.. nonce: dvXkYK +.. section: C API + +:c:func:`PyBuffer_GetPointer`, :c:func:`PyBuffer_FromContiguous`, +:c:func:`PyBuffer_ToContiguous` and :c:func:`PyMemoryView_FromBuffer` now +take buffer info by ``const Py_buffer *`` instead of ``Py_buffer *``, as +they do not need mutability. :c:func:`PyBuffer_FromContiguous` also now +takes the source buffer as ``const void *``, and similarly +:c:func:`PyBuffer_GetPointer` takes the strides as ``const Py_ssize_t *``. + +.. + +.. bpo: 45855 +.. date: 2021-12-12-10-09-02 +.. nonce: MVsTDj +.. section: C API + +Document that the *no_block* argument to :c:func:`PyCapsule_Import` is a +no-op now. + +.. + +.. bpo: 45855 +.. date: 2021-12-11-08-41-36 +.. nonce: Lq2_gR +.. section: C API + +Replaced deprecated usage of :c:func:`PyImport_ImportModuleNoBlock` with +:c:func:`PyImport_ImportModule` in stdlib modules. Patch by Kumar Aditya. + +.. + +.. bpo: 46007 +.. date: 2021-12-08-12-41-51 +.. nonce: sMgDLz +.. section: C API + +The :c:func:`PyUnicode_CHECK_INTERNED` macro has been excluded from the +limited C API. It was never usable there, because it used internal +structures which are not available in the limited C API. Patch by Victor +Stinner. diff --git a/Misc/NEWS.d/next/Build/2021-12-02-23-21-18.bpo-45949.OTSo9X.rst b/Misc/NEWS.d/next/Build/2021-12-02-23-21-18.bpo-45949.OTSo9X.rst deleted file mode 100644 index c746d71..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-02-23-21-18.bpo-45949.OTSo9X.rst +++ /dev/null @@ -1,3 +0,0 @@ -Use pure Python ``freeze_module`` for all but importlib bootstrap files. -``--with-freeze-module`` :program:`configure` option is no longer needed for -cross builds. diff --git a/Misc/NEWS.d/next/Build/2021-12-09-10-25-11.bpo-46023.PLpNB6.rst b/Misc/NEWS.d/next/Build/2021-12-09-10-25-11.bpo-46023.PLpNB6.rst deleted file mode 100644 index 4ef9202..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-09-10-25-11.bpo-46023.PLpNB6.rst +++ /dev/null @@ -1,2 +0,0 @@ -:program:`makesetup` no longer builds extensions that have been marked as -*disabled*. This allows users to disable modules in ``Modules/Setup.local``. diff --git a/Misc/NEWS.d/next/Build/2021-12-13-21-03-52.bpo-40280.b7NG4Y.rst b/Misc/NEWS.d/next/Build/2021-12-13-21-03-52.bpo-40280.b7NG4Y.rst deleted file mode 100644 index 905ee44..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-13-21-03-52.bpo-40280.b7NG4Y.rst +++ /dev/null @@ -1 +0,0 @@ -A new directory ``Tools/wasm`` contains WebAssembly-related helpers like ``config.site`` override for wasm32-emscripten, wasm assets generator to bundle the stdlib, and a README. diff --git a/Misc/NEWS.d/next/Build/2021-12-15-10-37-44.bpo-46072.GgeAU3.rst b/Misc/NEWS.d/next/Build/2021-12-15-10-37-44.bpo-46072.GgeAU3.rst deleted file mode 100644 index 9cc8b6c..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-15-10-37-44.bpo-46072.GgeAU3.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a --with-pystats configure option to turn on internal statistics -gathering. diff --git a/Misc/NEWS.d/next/Build/2021-12-16-14-18-07.bpo-46088.8UUuAd.rst b/Misc/NEWS.d/next/Build/2021-12-16-14-18-07.bpo-46088.8UUuAd.rst deleted file mode 100644 index 408ed53..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-16-14-18-07.bpo-46088.8UUuAd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Automatically detect or install bootstrap Python runtime when building from -Visual Studio. diff --git a/Misc/NEWS.d/next/Build/2021-12-20-07-10-41.bpo-46106.5qcv3L.rst b/Misc/NEWS.d/next/Build/2021-12-20-07-10-41.bpo-46106.5qcv3L.rst deleted file mode 100644 index d3e25f7..0000000 --- a/Misc/NEWS.d/next/Build/2021-12-20-07-10-41.bpo-46106.5qcv3L.rst +++ /dev/null @@ -1,2 +0,0 @@ -Updated OpenSSL to 1.1.1m in Windows builds, macOS installer builds, and CI. -Patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Build/2022-01-05-02-58-10.bpo-46263.xiv8NU.rst b/Misc/NEWS.d/next/Build/2022-01-05-02-58-10.bpo-46263.xiv8NU.rst deleted file mode 100644 index 3a575ed..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-05-02-58-10.bpo-46263.xiv8NU.rst +++ /dev/null @@ -1 +0,0 @@ -``configure`` no longer sets ``MULTIARCH`` on FreeBSD platforms. diff --git a/Misc/NEWS.d/next/Build/2022-01-07-08-33-45.bpo-45723.uq2nBU.rst b/Misc/NEWS.d/next/Build/2022-01-07-08-33-45.bpo-45723.uq2nBU.rst deleted file mode 100644 index ca923b2..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-07-08-33-45.bpo-45723.uq2nBU.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a regression in ``configure`` check for :func:`select.epoll`. diff --git a/Misc/NEWS.d/next/Build/2022-01-09-15-48-49.bpo-46315.NdCRLu.rst b/Misc/NEWS.d/next/Build/2022-01-09-15-48-49.bpo-46315.NdCRLu.rst deleted file mode 100644 index 9360f91..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-09-15-48-49.bpo-46315.NdCRLu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added and fixed ``#ifdef HAVE_FEATURE`` checks for functionality that is not -available on WASI platform. diff --git a/Misc/NEWS.d/next/Build/2022-01-12-10-22-23.bpo-40280.5maBz8.rst b/Misc/NEWS.d/next/Build/2022-01-12-10-22-23.bpo-40280.5maBz8.rst deleted file mode 100644 index 55fc0fc..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-12-10-22-23.bpo-40280.5maBz8.rst +++ /dev/null @@ -1,2 +0,0 @@ -The ``configure`` script has a new option ``--with-emscripten-target`` to -select browser or node as Emscripten build target. diff --git a/Misc/NEWS.d/next/Build/2022-01-12-13-34-52.bpo-44133.HYCNXb.rst b/Misc/NEWS.d/next/Build/2022-01-12-13-34-52.bpo-44133.HYCNXb.rst deleted file mode 100644 index 7c2a48a..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-12-13-34-52.bpo-44133.HYCNXb.rst +++ /dev/null @@ -1,5 +0,0 @@ -When Python is built without :option:`--enable-shared`, the ``python`` -program is now linked to object files, rather than being linked to the Python -static library (libpython.a), to make sure that all symbols are exported. -Previously, the linker omitted some symbols like the :c:func:`Py_FrozenMain` -function. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Build/2022-01-12-13-42-16.bpo-44133.NgyNAh.rst b/Misc/NEWS.d/next/Build/2022-01-12-13-42-16.bpo-44133.NgyNAh.rst deleted file mode 100644 index 3542850..0000000 --- a/Misc/NEWS.d/next/Build/2022-01-12-13-42-16.bpo-44133.NgyNAh.rst +++ /dev/null @@ -1,2 +0,0 @@ -When Python is configured with :option:`--without-static-libpython`, the Python -static library (libpython.a) is no longer built. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-12-08-12-41-51.bpo-46007.sMgDLz.rst b/Misc/NEWS.d/next/C API/2021-12-08-12-41-51.bpo-46007.sMgDLz.rst deleted file mode 100644 index 6ed871b..0000000 --- a/Misc/NEWS.d/next/C API/2021-12-08-12-41-51.bpo-46007.sMgDLz.rst +++ /dev/null @@ -1,3 +0,0 @@ -The :c:func:`PyUnicode_CHECK_INTERNED` macro has been excluded from the limited -C API. It was never usable there, because it used internal structures which are -not available in the limited C API. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/C API/2021-12-11-08-41-36.bpo-45855.Lq2_gR.rst b/Misc/NEWS.d/next/C API/2021-12-11-08-41-36.bpo-45855.Lq2_gR.rst deleted file mode 100644 index 03258df..0000000 --- a/Misc/NEWS.d/next/C API/2021-12-11-08-41-36.bpo-45855.Lq2_gR.rst +++ /dev/null @@ -1 +0,0 @@ -Replaced deprecated usage of :c:func:`PyImport_ImportModuleNoBlock` with :c:func:`PyImport_ImportModule` in stdlib modules. Patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/C API/2021-12-12-10-09-02.bpo-45855.MVsTDj.rst b/Misc/NEWS.d/next/C API/2021-12-12-10-09-02.bpo-45855.MVsTDj.rst deleted file mode 100644 index e00d56e..0000000 --- a/Misc/NEWS.d/next/C API/2021-12-12-10-09-02.bpo-45855.MVsTDj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Document that the *no_block* argument to :c:func:`PyCapsule_Import` is a -no-op now. diff --git a/Misc/NEWS.d/next/C API/2021-12-21-22-56-36.bpo-46140.dvXkYK.rst b/Misc/NEWS.d/next/C API/2021-12-21-22-56-36.bpo-46140.dvXkYK.rst deleted file mode 100644 index 26b9859..0000000 --- a/Misc/NEWS.d/next/C API/2021-12-21-22-56-36.bpo-46140.dvXkYK.rst +++ /dev/null @@ -1 +0,0 @@ -:c:func:`PyBuffer_GetPointer`, :c:func:`PyBuffer_FromContiguous`, :c:func:`PyBuffer_ToContiguous` and :c:func:`PyMemoryView_FromBuffer` now take buffer info by ``const Py_buffer *`` instead of ``Py_buffer *``, as they do not need mutability. :c:func:`PyBuffer_FromContiguous` also now takes the source buffer as ``const void *``, and similarly :c:func:`PyBuffer_GetPointer` takes the strides as ``const Py_ssize_t *``.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/C API/2022-01-05-10-16-16.bpo-46236.pcmVQw.rst b/Misc/NEWS.d/next/C API/2022-01-05-10-16-16.bpo-46236.pcmVQw.rst deleted file mode 100644 index 6190658..0000000 --- a/Misc/NEWS.d/next/C API/2022-01-05-10-16-16.bpo-46236.pcmVQw.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a bug in :c:func:`PyFunction_GetAnnotations` that caused it to return a ``tuple`` instead of a ``dict``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-04-24-15-39-23.bpo-43931.zpChDi.rst b/Misc/NEWS.d/next/Core and Builtins/2021-04-24-15-39-23.bpo-43931.zpChDi.rst deleted file mode 100644 index 0375129..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-04-24-15-39-23.bpo-43931.zpChDi.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added the :c:data:`Py_Version` constant which bears the same value as -:c:macro:`PY_VERSION_HEX`. Patch by Gabriele N. Tornetta.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-05-30-16-37-47.bpo-43413.vYFPPC1.rst b/Misc/NEWS.d/next/Core and Builtins/2021-05-30-16-37-47.bpo-43413.vYFPPC1.rst deleted file mode 100644 index cf879ec..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-05-30-16-37-47.bpo-43413.vYFPPC1.rst +++ /dev/null @@ -1 +0,0 @@ -Revert changes in ``set.__init__``. Subclass of :class:`set` needs to define a ``__init__()`` method if it defines a ``__new__()`` method with additional keyword parameters. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-11-22-13-05-32.bpo-45292.pfEouJ.rst b/Misc/NEWS.d/next/Core and Builtins/2021-11-22-13-05-32.bpo-45292.pfEouJ.rst deleted file mode 100644 index 2cc7f39..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-11-22-13-05-32.bpo-45292.pfEouJ.rst +++ /dev/null @@ -1 +0,0 @@ -Complete the :pep:`654` implementation: add ``except*``.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-01-11-54-27.bpo-45953.2znR0E.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-01-11-54-27.bpo-45953.2znR0E.rst deleted file mode 100644 index 4fa27b6..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-01-11-54-27.bpo-45953.2znR0E.rst +++ /dev/null @@ -1,4 +0,0 @@ -The main interpreter in _PyRuntimeState.interpreters is now statically -allocated (as part of _PyRuntime). Likewise for the initial thread state of -each interpreter. This means less allocation during runtime init, as well -as better memory locality for these key state objects. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-06-15-32-12.bpo-42918.Czpgtg.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-06-15-32-12.bpo-42918.Czpgtg.rst deleted file mode 100644 index f03dade..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-06-15-32-12.bpo-42918.Czpgtg.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix bug where the built-in :func:`compile` function did not always raise a -:exc:`SyntaxError` when passed multiple statements in 'single' mode. Patch by -Weipeng Hong. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-04-21.bpo-44525.6OWCgr.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-04-21.bpo-44525.6OWCgr.rst deleted file mode 100644 index 8e1533f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-04-21.bpo-44525.6OWCgr.rst +++ /dev/null @@ -1,3 +0,0 @@ -Specialize the CALL_FUNCTION instruction for calls to builtin types with a -single argument. Speeds up ``range(x)``, ``list(x)``, and specifically -``type(obj)``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-42-44.bpo-46000.v_ru3k.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-42-44.bpo-46000.v_ru3k.rst deleted file mode 100644 index 68e4bfa..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-07-11-42-44.bpo-46000.v_ru3k.rst +++ /dev/null @@ -1 +0,0 @@ -Improve compatibility of the :mod:`curses` module with NetBSD curses. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-41-35.bpo-46025.pkEvW9.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-41-35.bpo-46025.pkEvW9.rst deleted file mode 100644 index dd2f1ff..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-41-35.bpo-46025.pkEvW9.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix a crash in the :mod:`atexit` module involving functions that unregister -themselves before raising exceptions. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-57-43.bpo-45654.MZc7ei.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-57-43.bpo-45654.MZc7ei.rst deleted file mode 100644 index 9072558..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-09-11-57-43.bpo-45654.MZc7ei.rst +++ /dev/null @@ -1 +0,0 @@ -Deepfreeze :mod:`runpy`, patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-10-09-10-32.bpo-46031.rM7JOX.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-10-09-10-32.bpo-46031.rM7JOX.rst deleted file mode 100644 index 65c8b38..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-10-09-10-32.bpo-46031.rM7JOX.rst +++ /dev/null @@ -1 +0,0 @@ -Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:`POP_JUMP_IF_NONE` opcodes to speed up conditional jumps.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-10-13-42-17.bpo-37971.6BC1Tx.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-10-13-42-17.bpo-37971.6BC1Tx.rst deleted file mode 100644 index 17f44f0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-10-13-42-17.bpo-37971.6BC1Tx.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a bug where the line numbers given in a traceback when a decorator -application raised an exception were wrong. - diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-14-42.bpo-46048._-OGD9.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-14-42.bpo-46048._-OGD9.rst deleted file mode 100644 index 647fb6d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-14-42.bpo-46048._-OGD9.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixes parsing of :file:`._pth` files on startup so that single-character -paths are correctly read. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-49-19.bpo-46049.9dNto2.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-49-19.bpo-46049.9dNto2.rst deleted file mode 100644 index 07c6cb4..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-13-49-19.bpo-46049.9dNto2.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure :file:`._pth` files work as intended on platforms other than Windows. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-17-40-34.bpo-46042.aqYxku.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-11-17-40-34.bpo-46042.aqYxku.rst deleted file mode 100644 index 7a302bc..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-11-17-40-34.bpo-46042.aqYxku.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve the location of the caret in :exc:`SyntaxError` exceptions emitted -by the symbol table. Patch by Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-05-30-21.bpo-46054.2P-foG.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-12-05-30-21.bpo-46054.2P-foG.rst deleted file mode 100644 index 6ca91f0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-05-30-21.bpo-46054.2P-foG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix parser error when parsing non-utf8 characters in source files. Patch by -Pablo Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-15-52-41.bpo-45635.ADVaPT.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-12-15-52-41.bpo-45635.ADVaPT.rst deleted file mode 100644 index d2c97f5..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-12-15-52-41.bpo-45635.ADVaPT.rst +++ /dev/null @@ -1 +0,0 @@ -The code called from :c:func:`_PyErr_Display` was refactored to improve error handling. It now exits immediately upon an unrecoverable error.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-01-13.bpo-46039.TrCBbF.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-01-13.bpo-46039.TrCBbF.rst deleted file mode 100644 index 18bdc34..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-01-13.bpo-46039.TrCBbF.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove the ``YIELD_FROM`` instruction and replace it with the ``SEND`` -instruction which performs the same operation, but without the loop. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-12-16.bpo-44525.4-FiSf.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-12-16.bpo-44525.4-FiSf.rst deleted file mode 100644 index d929666..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-13-17-12-16.bpo-44525.4-FiSf.rst +++ /dev/null @@ -1,8 +0,0 @@ -Replace the four call bytecode instructions which one pre-call instruction -and two call instructions. - -Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and -``CALL_METHOD_KW``. - -Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and -``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-15-15-17-04.bpo-45711.QK4QrB.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-15-15-17-04.bpo-45711.QK4QrB.rst deleted file mode 100644 index 717f89f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-15-15-17-04.bpo-45711.QK4QrB.rst +++ /dev/null @@ -1 +0,0 @@ -The interpreter state's representation of handled exceptions (a.k.a exc_info, or _PyErr_StackItem) now has only the ``exc_value`` field, ``exc_type`` and ``exc_traceback`` have been removed as their values can be derived from ``exc_value``.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-23-27-05.bpo-46107.7q5an0.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-16-23-27-05.bpo-46107.7q5an0.rst deleted file mode 100644 index 3257805..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-16-23-27-05.bpo-46107.7q5an0.rst +++ /dev/null @@ -1 +0,0 @@ -Fix bug where :meth:`ExceptionGroup.split` and :meth:`ExceptionGroup.subgroup` did not copy the exception group's ``__note__`` field to the parts. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-18-02-37-07.bpo-46110.B6hAfu.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-18-02-37-07.bpo-46110.B6hAfu.rst deleted file mode 100644 index 593d285..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-18-02-37-07.bpo-46110.B6hAfu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a maximum recursion check to the PEG parser to avoid stack overflow. -Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-24-20-21-45.bpo-46055.R0QMVQ.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-24-20-21-45.bpo-46055.R0QMVQ.rst deleted file mode 100644 index 1241388..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-24-20-21-45.bpo-46055.R0QMVQ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Speed up shifting operation involving integers less than -:c:macro:`PyLong_BASE`. Patch by Xinhang Xu. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-30-00-23-41.bpo-46085.bDuJqu.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-30-00-23-41.bpo-46085.bDuJqu.rst deleted file mode 100644 index a2093f7..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-30-00-23-41.bpo-46085.bDuJqu.rst +++ /dev/null @@ -1 +0,0 @@ -Fix iterator cache mechanism of :class:`OrderedDict`. diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-12-30-11-06-27.bpo-46202.IKx4v6.rst b/Misc/NEWS.d/next/Core and Builtins/2021-12-30-11-06-27.bpo-46202.IKx4v6.rst deleted file mode 100644 index ee0a903..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2021-12-30-11-06-27.bpo-46202.IKx4v6.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove :opcode:`POP_EXCEPT_AND_RERAISE` and replace it by an equivalent -sequence of other opcodes. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-01-14-23-57.bpo-46221.7oGp-I.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-01-14-23-57.bpo-46221.7oGp-I.rst deleted file mode 100644 index 0cb3e90..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-01-14-23-57.bpo-46221.7oGp-I.rst +++ /dev/null @@ -1 +0,0 @@ -:opcode:`PREP_RERAISE_STAR` no longer pushes ``lasti`` to the stack. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-02-23-55-13.bpo-46235.gUjp2v.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-02-23-55-13.bpo-46235.gUjp2v.rst deleted file mode 100644 index 9115c9d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-02-23-55-13.bpo-46235.gUjp2v.rst +++ /dev/null @@ -1 +0,0 @@ -Certain sequence multiplication operations like ``[0] * 1_000`` are now faster due to reference-counting optimizations. Patch by Dennis Sweeney.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-03-11-36-34.bpo-46009.QZGrov.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-03-11-36-34.bpo-46009.QZGrov.rst deleted file mode 100644 index 1ffcc76..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-03-11-36-34.bpo-46009.QZGrov.rst +++ /dev/null @@ -1 +0,0 @@ -Remove the ``GEN_START`` opcode. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-03-23-31-25.bpo-46240.8lGjeK.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-03-23-31-25.bpo-46240.8lGjeK.rst deleted file mode 100644 index a7702eb..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-03-23-31-25.bpo-46240.8lGjeK.rst +++ /dev/null @@ -1,3 +0,0 @@ -Correct the error message for unclosed parentheses when the tokenizer -doesn't reach the end of the source when the error is reported. Patch by -Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-04-01-53-35.bpo-46208.i00Vz5.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-04-01-53-35.bpo-46208.i00Vz5.rst deleted file mode 100644 index 92025a0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-04-01-53-35.bpo-46208.i00Vz5.rst +++ /dev/null @@ -1 +0,0 @@ -Fix the regression of os.path.normpath("A/../../B") not returning expected "../B" but "B".
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-04-14-08-10.bpo-45923.rBp7r1.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-04-14-08-10.bpo-45923.rBp7r1.rst deleted file mode 100644 index 967f6db..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-04-14-08-10.bpo-45923.rBp7r1.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add RESUME opcode. This is a logical no-op. It is emitted by the compiler -anywhere a Python function can be entered. It is used by the interpreter to -perform tracing and optimizer checks. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst deleted file mode 100644 index 3acd2b0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-05-17-13-47.bpo-46006.hdH5Vn.rst +++ /dev/null @@ -1,5 +0,0 @@ -Fix a regression when a type method like ``__init__()`` is modified in a -subinterpreter. Fix a regression in ``_PyUnicode_EqualToASCIIId()`` and type -``update_slot()``. Revert the change which made the Unicode dictionary of -interned strings compatible with subinterpreters: the internal interned -dictionary is shared again by all interpreters. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst deleted file mode 100644 index fdcfe50..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-06-10-54-07.bpo-46263.60dRZb.rst +++ /dev/null @@ -1,2 +0,0 @@ -We always expect the "use_frozen_modules" config to be set, now that -getpath.c was rewritten in pure Python and the logic improved. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-19-33-05.bpo-46237.9A6Hpq.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-07-19-33-05.bpo-46237.9A6Hpq.rst deleted file mode 100644 index 931a260..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-19-33-05.bpo-46237.9A6Hpq.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the line number of tokenizer errors inside f-strings. Patch by Pablo -Galindo. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-22-13-59.bpo-46297.83ThTl.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-07-22-13-59.bpo-46297.83ThTl.rst deleted file mode 100644 index 558d239..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-22-13-59.bpo-46297.83ThTl.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed an interpreter crash on bootup with multiple PythonPaths set in -the Windows registry. Patch by Derzsi Dániel. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-23-32-03.bpo-46289.NnjpVc.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-07-23-32-03.bpo-46289.NnjpVc.rst deleted file mode 100644 index 816ff58..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-07-23-32-03.bpo-46289.NnjpVc.rst +++ /dev/null @@ -1,2 +0,0 @@ -ASDL declaration of ``FormattedValue`` has changed to reflect ``conversion`` -field is not optional. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-10-12-34-17.bpo-46314.jId9Ky.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-10-12-34-17.bpo-46314.jId9Ky.rst deleted file mode 100644 index c92c0cd..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-10-12-34-17.bpo-46314.jId9Ky.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove spurious "call" event when creating a lambda function that was -accidentally introduced in 3.11a4. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-10-16-21-54.bpo-46331.h1AC-i.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-10-16-21-54.bpo-46331.h1AC-i.rst deleted file mode 100644 index 8bb9a99..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-10-16-21-54.bpo-46331.h1AC-i.rst +++ /dev/null @@ -1,2 +0,0 @@ -Do not set line number of instruction storing doc-string. Fixes regression -introduced in 3.11 alpha. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-11-11-50-19.bpo-46339.OVumDZ.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-11-11-50-19.bpo-46339.OVumDZ.rst deleted file mode 100644 index cd04f06..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-11-11-50-19.bpo-46339.OVumDZ.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a crash in the parser when retrieving the error text for multi-line -f-strings expressions that do not start in the first line of the string. -Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-11-13-57-00.bpo-46347.Gd8M-S.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-11-13-57-00.bpo-46347.Gd8M-S.rst deleted file mode 100644 index fc12d6b..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-11-13-57-00.bpo-46347.Gd8M-S.rst +++ /dev/null @@ -1 +0,0 @@ -Fix memory leak in PyEval_EvalCodeEx. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-01-13-17-58-56.bpo-46070.q8IGth.rst b/Misc/NEWS.d/next/Core and Builtins/2022-01-13-17-58-56.bpo-46070.q8IGth.rst deleted file mode 100644 index 4ed088f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-01-13-17-58-56.bpo-46070.q8IGth.rst +++ /dev/null @@ -1,5 +0,0 @@ -:c:func:`Py_EndInterpreter` now explicitly untracks all objects currently -tracked by the GC. Previously, if an object was used later by another -interpreter, calling :c:func:`PyObject_GC_UnTrack` on the object crashed if the -previous or the next object of the :c:type:`PyGC_Head` structure became a -dangling pointer. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Documentation/2021-11-28-22-43-21.bpo-19737.cOOubB.rst b/Misc/NEWS.d/next/Documentation/2021-11-28-22-43-21.bpo-19737.cOOubB.rst deleted file mode 100644 index a3e16c9..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-11-28-22-43-21.bpo-19737.cOOubB.rst +++ /dev/null @@ -1 +0,0 @@ -Update the documentation for the :func:`globals` function. diff --git a/Misc/NEWS.d/next/Documentation/2021-12-16-21-13-55.bpo-46109.0-RNzu.rst b/Misc/NEWS.d/next/Documentation/2021-12-16-21-13-55.bpo-46109.0-RNzu.rst deleted file mode 100644 index 78d5149..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-12-16-21-13-55.bpo-46109.0-RNzu.rst +++ /dev/null @@ -1,2 +0,0 @@ -Extracted ``importlib.resources`` and ``importlib.resources.abc`` documentation into -separate files. diff --git a/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst b/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst deleted file mode 100644 index 17f6747..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-12-21-12-45-57.bpo-46120.PE0DmJ.rst +++ /dev/null @@ -1 +0,0 @@ -State that ``|`` is preferred for readability over ``Union`` in the :mod:`typing` docs. diff --git a/Misc/NEWS.d/next/Documentation/2021-12-30-19-12-24.bpo-46196.UvQ8Sq.rst b/Misc/NEWS.d/next/Documentation/2021-12-30-19-12-24.bpo-46196.UvQ8Sq.rst deleted file mode 100644 index f14ada6..0000000 --- a/Misc/NEWS.d/next/Documentation/2021-12-30-19-12-24.bpo-46196.UvQ8Sq.rst +++ /dev/null @@ -1 +0,0 @@ -Document method :meth:`cmd.Cmd.columnize`. diff --git a/Misc/NEWS.d/next/Library/2020-11-26-10-23-46.bpo-42413.HFikOl.rst b/Misc/NEWS.d/next/Library/2020-11-26-10-23-46.bpo-42413.HFikOl.rst deleted file mode 100644 index 85b7fe2..0000000 --- a/Misc/NEWS.d/next/Library/2020-11-26-10-23-46.bpo-42413.HFikOl.rst +++ /dev/null @@ -1,2 +0,0 @@ -Replace ``concurrent.futures.TimeoutError`` and ``asyncio.TimeoutError`` -with builtin :exc:`TimeoutError`, keep these names as deprecated aliases. diff --git a/Misc/NEWS.d/next/Library/2021-05-19-12-35-49.bpo-44092.hiSlI5.rst b/Misc/NEWS.d/next/Library/2021-05-19-12-35-49.bpo-44092.hiSlI5.rst deleted file mode 100644 index 6777781..0000000 --- a/Misc/NEWS.d/next/Library/2021-05-19-12-35-49.bpo-44092.hiSlI5.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fetch across rollback no longer raises :exc:`~sqlite3.InterfaceError`. Instead -we leave it to the SQLite library to handle these cases. -Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2021-10-28-11-40-59.bpo-45643.jeiPiX.rst b/Misc/NEWS.d/next/Library/2021-10-28-11-40-59.bpo-45643.jeiPiX.rst deleted file mode 100644 index e1592ed..0000000 --- a/Misc/NEWS.d/next/Library/2021-10-28-11-40-59.bpo-45643.jeiPiX.rst +++ /dev/null @@ -1 +0,0 @@ -Added :data:`signal.SIGSTKFLT` on platforms where this signal is defined. diff --git a/Misc/NEWS.d/next/Library/2021-11-24-12-25-42.bpo-25066.YIcIkn.rst b/Misc/NEWS.d/next/Library/2021-11-24-12-25-42.bpo-25066.YIcIkn.rst deleted file mode 100644 index df19d04..0000000 --- a/Misc/NEWS.d/next/Library/2021-11-24-12-25-42.bpo-25066.YIcIkn.rst +++ /dev/null @@ -1 +0,0 @@ -Added a :meth:`__repr__` method to :class:`multiprocessing.Event` objects, patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-11-24-19-09-14.bpo-23882._tctCv.rst b/Misc/NEWS.d/next/Library/2021-11-24-19-09-14.bpo-23882._tctCv.rst deleted file mode 100644 index a37c0b8..0000000 --- a/Misc/NEWS.d/next/Library/2021-11-24-19-09-14.bpo-23882._tctCv.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove namespace package (PEP 420) support from unittest discovery. It was -introduced in Python 3.4 but has been broken since Python 3.7. diff --git a/Misc/NEWS.d/next/Library/2021-11-29-19-37-20.bpo-44674.NijWLt.rst b/Misc/NEWS.d/next/Library/2021-11-29-19-37-20.bpo-44674.NijWLt.rst deleted file mode 100644 index 79e7a08..0000000 --- a/Misc/NEWS.d/next/Library/2021-11-29-19-37-20.bpo-44674.NijWLt.rst +++ /dev/null @@ -1,6 +0,0 @@ -Change how dataclasses disallows mutable default values. It used to -use a list of known types (list, dict, set). Now it disallows -unhashable objects to be defaults. It's using unhashability as a -proxy for mutability. Patch by Eric V. Smith, idea by Raymond -Hettinger. - diff --git a/Misc/NEWS.d/next/Library/2021-12-02-11-55-45.bpo-45874.dtJIsN.rst b/Misc/NEWS.d/next/Library/2021-12-02-11-55-45.bpo-45874.dtJIsN.rst deleted file mode 100644 index ef793cf..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-02-11-55-45.bpo-45874.dtJIsN.rst +++ /dev/null @@ -1,3 +0,0 @@ -The empty query string, consisting of no query arguments, is now handled -correctly in ``urllib.parse.parse_qsl``. This caused problems before when -strict parsing was enabled. diff --git a/Misc/NEWS.d/next/Library/2021-12-07-21-55-22.bpo-45755.bRqKGa.rst b/Misc/NEWS.d/next/Library/2021-12-07-21-55-22.bpo-45755.bRqKGa.rst deleted file mode 100644 index e5201b0..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-07-21-55-22.bpo-45755.bRqKGa.rst +++ /dev/null @@ -1,3 +0,0 @@ -:mod:`typing` generic aliases now reveal the class attributes of the -original generic class when passed to ``dir()``. This was the behavior up to -Python 3.6, but was changed in 3.7-3.9. diff --git a/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst b/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst deleted file mode 100644 index 485bd86..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst +++ /dev/null @@ -1 +0,0 @@ -Adding :attr:`F_DUP2FD` and :attr:`F_DUP2FD_CLOEXEC` constants from FreeBSD into the fcntl module. diff --git a/Misc/NEWS.d/next/Library/2021-12-09-00-44-42.bpo-46018.hkTI7v.rst b/Misc/NEWS.d/next/Library/2021-12-09-00-44-42.bpo-46018.hkTI7v.rst deleted file mode 100644 index 6ff76f5..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-09-00-44-42.bpo-46018.hkTI7v.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure that :func:`math.expm1` does not raise on underflow. diff --git a/Misc/NEWS.d/next/Library/2021-12-09-11-50-32.bpo-27062.R5vii6.rst b/Misc/NEWS.d/next/Library/2021-12-09-11-50-32.bpo-27062.R5vii6.rst deleted file mode 100644 index 3ca22b6..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-09-11-50-32.bpo-27062.R5vii6.rst +++ /dev/null @@ -1 +0,0 @@ -Add :attr:`__all__` to :mod:`inspect`, patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst b/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst deleted file mode 100644 index 90aacaf..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-10-03-13-57.bpo-46014.3xYdST.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add ability to use ``typing.Union`` and ``types.UnionType`` as dispatch -argument to ``functools.singledispatch``. Patch provided by Yurii Karabas. diff --git a/Misc/NEWS.d/next/Library/2021-12-11-15-45-07.bpo-46032.HmciLT.rst b/Misc/NEWS.d/next/Library/2021-12-11-15-45-07.bpo-46032.HmciLT.rst deleted file mode 100644 index 97a553d..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-11-15-45-07.bpo-46032.HmciLT.rst +++ /dev/null @@ -1,5 +0,0 @@ -The ``registry()`` method of :func:`functools.singledispatch` functions -checks now the first argument or the first parameter annotation and raises a -TypeError if it is not supported. Previously unsupported "types" were -ignored (e.g. ``typing.List[int]``) or caused an error at calling time (e.g. -``list[int]``). diff --git a/Misc/NEWS.d/next/Library/2021-12-11-22-51-30.bpo-27718.MgQiGl.rst b/Misc/NEWS.d/next/Library/2021-12-11-22-51-30.bpo-27718.MgQiGl.rst deleted file mode 100644 index c68e98f..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-11-22-51-30.bpo-27718.MgQiGl.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix help for the :mod:`signal` module. Some functions (e.g. ``signal()`` and -``getsignal()``) were omitted. diff --git a/Misc/NEWS.d/next/Library/2021-12-12-13-41-47.bpo-16594.yfC7L4.rst b/Misc/NEWS.d/next/Library/2021-12-12-13-41-47.bpo-16594.yfC7L4.rst deleted file mode 100644 index a977a6b..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-12-13-41-47.bpo-16594.yfC7L4.rst +++ /dev/null @@ -1 +0,0 @@ -Add allow allow_reuse_port flag in socketserver.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-13-15-51-16.bpo-45615.hVx83Q.rst b/Misc/NEWS.d/next/Library/2021-12-13-15-51-16.bpo-45615.hVx83Q.rst deleted file mode 100644 index f8cd911..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-13-15-51-16.bpo-45615.hVx83Q.rst +++ /dev/null @@ -1 +0,0 @@ -Functions in the :mod:`traceback` module raise :exc:`TypeError` rather than :exc:`AttributeError` when an exception argument is not of type :exc:`BaseException`.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-14-13-18-45.bpo-26952.hjhISq.rst b/Misc/NEWS.d/next/Library/2021-12-14-13-18-45.bpo-26952.hjhISq.rst deleted file mode 100644 index 379dbb5..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-14-13-18-45.bpo-26952.hjhISq.rst +++ /dev/null @@ -1 +0,0 @@ -:mod:`argparse` raises :exc:`ValueError` with clear message when trying to render usage for an empty mutually-exclusive group. Previously it raised a cryptic :exc:`IndexError`.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-15-19-24-54.bpo-22047.gBV4vT.rst b/Misc/NEWS.d/next/Library/2021-12-15-19-24-54.bpo-22047.gBV4vT.rst deleted file mode 100644 index a381ad8..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-15-19-24-54.bpo-22047.gBV4vT.rst +++ /dev/null @@ -1,3 +0,0 @@ -Calling :meth:`add_argument_group` on an argument group is deprecated. Calling :meth:`add_argument_group` or :meth:`add_mutually_exclusive_group` on a mutually exclusive group is deprecated.
-
-These features were never supported and do not always work correctly. The functions exist on the API by accident through inheritance and will be removed in the future.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-16-12-54-21.bpo-22815.0NRH8s.rst b/Misc/NEWS.d/next/Library/2021-12-16-12-54-21.bpo-22815.0NRH8s.rst deleted file mode 100644 index 5c4600f..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-16-12-54-21.bpo-22815.0NRH8s.rst +++ /dev/null @@ -1,2 +0,0 @@ -Print unexpected successes together with failures and errors in summary in -:class:`unittest.TextTestResult`. diff --git a/Misc/NEWS.d/next/Library/2021-12-16-13-54-55.bpo-44893.I7aLiW.rst b/Misc/NEWS.d/next/Library/2021-12-16-13-54-55.bpo-44893.I7aLiW.rst deleted file mode 100644 index e77c6ad..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-16-13-54-55.bpo-44893.I7aLiW.rst +++ /dev/null @@ -1,3 +0,0 @@ -EntryPoint objects are no longer tuples. Recommended means to access is by -attribute ('.name', '.group') or accessor ('.load()'). Access by index is -deprecated and will raise deprecation warning. diff --git a/Misc/NEWS.d/next/Library/2021-12-16-14-30-36.bpo-46105.pprB1K.rst b/Misc/NEWS.d/next/Library/2021-12-16-14-30-36.bpo-46105.pprB1K.rst deleted file mode 100644 index 145edcc..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-16-14-30-36.bpo-46105.pprB1K.rst +++ /dev/null @@ -1,2 +0,0 @@ -Honor spec when generating requirement specs with urls and extras -(importlib_metadata 4.8.3). diff --git a/Misc/NEWS.d/next/Library/2021-12-17-12-06-40.bpo-20369.zzLuBz.rst b/Misc/NEWS.d/next/Library/2021-12-17-12-06-40.bpo-20369.zzLuBz.rst deleted file mode 100644 index cc5cd00..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-17-12-06-40.bpo-20369.zzLuBz.rst +++ /dev/null @@ -1 +0,0 @@ -:func:`concurrent.futures.wait` no longer blocks forever when given duplicate Futures. Patch by Kumar Aditya. diff --git a/Misc/NEWS.d/next/Library/2021-12-17-13-22-37.bpo-37578._tluuR.rst b/Misc/NEWS.d/next/Library/2021-12-17-13-22-37.bpo-37578._tluuR.rst deleted file mode 100644 index 455d064..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-17-13-22-37.bpo-37578._tluuR.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add *include_hidden* parameter to :func:`~glob.glob` and :func:`~glob.iglob` to -match hidden files and directories when using special characters like ``*``, -``**``, ``?`` and ``[]``. diff --git a/Misc/NEWS.d/next/Library/2021-12-17-16-27-44.bpo-46118.euAy0E.rst b/Misc/NEWS.d/next/Library/2021-12-17-16-27-44.bpo-46118.euAy0E.rst deleted file mode 100644 index c53e576..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-17-16-27-44.bpo-46118.euAy0E.rst +++ /dev/null @@ -1 +0,0 @@ -Moved importlib.resources and its related functionality to a package. diff --git a/Misc/NEWS.d/next/Library/2021-12-18-18-29-07.bpo-46125.LLmcox.rst b/Misc/NEWS.d/next/Library/2021-12-18-18-29-07.bpo-46125.LLmcox.rst deleted file mode 100644 index d2c3a32..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-18-18-29-07.bpo-46125.LLmcox.rst +++ /dev/null @@ -1,2 +0,0 @@ -Refactor tests to test traversable API directly. Includes changes from -importlib 5.4.0. diff --git a/Misc/NEWS.d/next/Library/2021-12-19-00-00-48.bpo-45321.OyuhaY.rst b/Misc/NEWS.d/next/Library/2021-12-19-00-00-48.bpo-45321.OyuhaY.rst deleted file mode 100644 index 171bf8a..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-19-00-00-48.bpo-45321.OyuhaY.rst +++ /dev/null @@ -1 +0,0 @@ -Added missing error codes to module ``xml.parsers.expat.errors``. diff --git a/Misc/NEWS.d/next/Library/2021-12-23-14-36-58.bpo-43424.d9x2JZ.rst b/Misc/NEWS.d/next/Library/2021-12-23-14-36-58.bpo-43424.d9x2JZ.rst deleted file mode 100644 index aa5f8d4..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-23-14-36-58.bpo-43424.d9x2JZ.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate :attr:`webbrowser.MacOSXOSAScript._name` and use ``name`` instead. diff --git a/Misc/NEWS.d/next/Library/2021-12-25-11-11-21.bpo-46176.EOY9wd.rst b/Misc/NEWS.d/next/Library/2021-12-25-11-11-21.bpo-46176.EOY9wd.rst deleted file mode 100644 index 4a50c26..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-25-11-11-21.bpo-46176.EOY9wd.rst +++ /dev/null @@ -1 +0,0 @@ -Adding the ``MAP_STACK`` constant for the mmap module.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2021-12-27-15-52-28.bpo-37295.s3LPo0.rst b/Misc/NEWS.d/next/Library/2021-12-27-15-52-28.bpo-37295.s3LPo0.rst deleted file mode 100644 index a624f10..0000000 --- a/Misc/NEWS.d/next/Library/2021-12-27-15-52-28.bpo-37295.s3LPo0.rst +++ /dev/null @@ -1 +0,0 @@ -Add fast path for ``0 <= k <= n <= 67`` for :func:`math.comb`. diff --git a/Misc/NEWS.d/next/Library/2022-01-01-17-34-32.bpo-46222.s2fzZU.rst b/Misc/NEWS.d/next/Library/2022-01-01-17-34-32.bpo-46222.s2fzZU.rst deleted file mode 100644 index 1fe2879..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-01-17-34-32.bpo-46222.s2fzZU.rst +++ /dev/null @@ -1 +0,0 @@ -Adding ``SF_NOCACHE`` sendfile constant for FreeBSD for the posixmodule.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2022-01-03-12-19-10.bpo-46238.lANhCi.rst b/Misc/NEWS.d/next/Library/2022-01-03-12-19-10.bpo-46238.lANhCi.rst deleted file mode 100644 index 1617b0e..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-03-12-19-10.bpo-46238.lANhCi.rst +++ /dev/null @@ -1 +0,0 @@ -Reuse ``_winapi`` constants in ``asyncio.windows_events``. diff --git a/Misc/NEWS.d/next/Library/2022-01-03-12-59-20.bpo-46239.ySVSEy.rst b/Misc/NEWS.d/next/Library/2022-01-03-12-59-20.bpo-46239.ySVSEy.rst deleted file mode 100644 index 202febf..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-03-12-59-20.bpo-46239.ySVSEy.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve error message when importing :mod:`asyncio.windows_events` on -non-Windows. diff --git a/Misc/NEWS.d/next/Library/2022-01-03-21-03-50.bpo-41011.uULmGi.rst b/Misc/NEWS.d/next/Library/2022-01-03-21-03-50.bpo-41011.uULmGi.rst deleted file mode 100644 index 1b1fa5d..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-03-21-03-50.bpo-41011.uULmGi.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added two new variables to *pyvenv.cfg* which is generated by :mod:`venv` -module: *executable* for the executable and *command* for the command line used -to create the environment. diff --git a/Misc/NEWS.d/next/Library/2022-01-04-11-04-20.bpo-46257._o2ADe.rst b/Misc/NEWS.d/next/Library/2022-01-04-11-04-20.bpo-46257._o2ADe.rst deleted file mode 100644 index 72ae56e..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-04-11-04-20.bpo-46257._o2ADe.rst +++ /dev/null @@ -1,4 +0,0 @@ -Optimized the mean, variance, and stdev functions in the statistics module. -If the input is an iterator, it is consumed in a single pass rather than -eating memory by conversion to a list. The single pass algorithm is about -twice as fast as the previous two pass code. diff --git a/Misc/NEWS.d/next/Library/2022-01-05-12-48-18.bpo-46266.ACQCgX.rst b/Misc/NEWS.d/next/Library/2022-01-05-12-48-18.bpo-46266.ACQCgX.rst deleted file mode 100644 index 354dcb0..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-05-12-48-18.bpo-46266.ACQCgX.rst +++ /dev/null @@ -1,4 +0,0 @@ -Improve day constants in :mod:`calendar`. - -Now all constants (`MONDAY` ... `SUNDAY`) are documented, tested, and added -to ``__all__``. diff --git a/Misc/NEWS.d/next/Library/2022-01-05-18-16-13.bpo-46269.K16Z1S.rst b/Misc/NEWS.d/next/Library/2022-01-05-18-16-13.bpo-46269.K16Z1S.rst deleted file mode 100644 index 5d3687a..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-05-18-16-13.bpo-46269.K16Z1S.rst +++ /dev/null @@ -1 +0,0 @@ -Remove special-casing of ``__new__`` in :meth:`enum.Enum.__dir__`. diff --git a/Misc/NEWS.d/next/Library/2022-01-06-13-38-00.bpo-46278.wILA80.rst b/Misc/NEWS.d/next/Library/2022-01-06-13-38-00.bpo-46278.wILA80.rst deleted file mode 100644 index 4084904..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-06-13-38-00.bpo-46278.wILA80.rst +++ /dev/null @@ -1,2 +0,0 @@ -Reflect ``context`` argument in ``AbstractEventLoop.call_*()`` methods. Loop -implementations already support it. diff --git a/Misc/NEWS.d/next/Library/2022-01-06-21-31-14.bpo-46244.hjyfJj.rst b/Misc/NEWS.d/next/Library/2022-01-06-21-31-14.bpo-46244.hjyfJj.rst deleted file mode 100644 index 5ca536a..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-06-21-31-14.bpo-46244.hjyfJj.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed ``__slots__`` from :class:`typing.ParamSpec` and :class:`typing.TypeVar`. -They served no purpose. Patch by Arie Bovenberg. diff --git a/Misc/NEWS.d/next/Library/2022-01-07-13-51-22.bpo-46070.-axLUW.rst b/Misc/NEWS.d/next/Library/2022-01-07-13-51-22.bpo-46070.-axLUW.rst deleted file mode 100644 index 0fedc9d..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-07-13-51-22.bpo-46070.-axLUW.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix possible segfault when importing the :mod:`asyncio` module from -different sub-interpreters in parallel. Patch by Erlend E. Aasland. diff --git a/Misc/NEWS.d/next/Library/2022-01-07-15-20-19.bpo-40479.EKfr3F.rst b/Misc/NEWS.d/next/Library/2022-01-07-15-20-19.bpo-40479.EKfr3F.rst deleted file mode 100644 index af72923..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-07-15-20-19.bpo-40479.EKfr3F.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix :mod:`hashlib` *usedforsecurity* option to work correctly with OpenSSL -3.0.0 in FIPS mode. diff --git a/Misc/NEWS.d/next/Library/2022-01-08-13-53-25.bpo-46306.1_es8z.rst b/Misc/NEWS.d/next/Library/2022-01-08-13-53-25.bpo-46306.1_es8z.rst deleted file mode 100644 index 02943c9..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-08-13-53-25.bpo-46306.1_es8z.rst +++ /dev/null @@ -1,2 +0,0 @@ -Assume that :class:`types.CodeType` always has :attr:`types.CodeType.co_firstlineno` in -:mod:`doctest`. diff --git a/Misc/NEWS.d/next/Library/2022-01-10-07-51-43.bpo-46307.SKvOIY.rst b/Misc/NEWS.d/next/Library/2022-01-10-07-51-43.bpo-46307.SKvOIY.rst deleted file mode 100644 index 6207c42..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-10-07-51-43.bpo-46307.SKvOIY.rst +++ /dev/null @@ -1 +0,0 @@ -Add :meth:`string.Template.is_valid` and :meth:`string.Template.get_identifiers` methods. diff --git a/Misc/NEWS.d/next/Library/2022-01-10-11-53-15.bpo-46328.6i9Wvq.rst b/Misc/NEWS.d/next/Library/2022-01-10-11-53-15.bpo-46328.6i9Wvq.rst deleted file mode 100644 index fec790d..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-10-11-53-15.bpo-46328.6i9Wvq.rst +++ /dev/null @@ -1 +0,0 @@ -Added the :meth:`sys.exception` method which returns the active exception instance.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Library/2022-01-11-04-28-09.bpo-46342.5QVEH1.rst b/Misc/NEWS.d/next/Library/2022-01-11-04-28-09.bpo-46342.5QVEH1.rst deleted file mode 100644 index 31d484f..0000000 --- a/Misc/NEWS.d/next/Library/2022-01-11-04-28-09.bpo-46342.5QVEH1.rst +++ /dev/null @@ -1,2 +0,0 @@ -The ``@typing.final`` decorator now sets the ``__final__`` attribute on the -decorated object to allow runtime introspection. Patch by Jelle Zijlstra. diff --git a/Misc/NEWS.d/next/Tests/2021-12-17-14-46-19.bpo-46114.9iyZ_9.rst b/Misc/NEWS.d/next/Tests/2021-12-17-14-46-19.bpo-46114.9iyZ_9.rst deleted file mode 100644 index 6878cea..0000000 --- a/Misc/NEWS.d/next/Tests/2021-12-17-14-46-19.bpo-46114.9iyZ_9.rst +++ /dev/null @@ -1 +0,0 @@ -Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses ``0xMNN00PP0L``. diff --git a/Misc/NEWS.d/next/Tests/2021-12-19-08-44-32.bpo-23819.9ueiII.rst b/Misc/NEWS.d/next/Tests/2021-12-19-08-44-32.bpo-23819.9ueiII.rst deleted file mode 100644 index 4ef0fe6..0000000 --- a/Misc/NEWS.d/next/Tests/2021-12-19-08-44-32.bpo-23819.9ueiII.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed :mod:`asyncio` tests in python optimized mode. Patch by Kumar Aditya.
\ No newline at end of file diff --git a/Misc/NEWS.d/next/Tests/2021-12-19-12-20-57.bpo-46129.I3MunH.rst b/Misc/NEWS.d/next/Tests/2021-12-19-12-20-57.bpo-46129.I3MunH.rst deleted file mode 100644 index b06436a..0000000 --- a/Misc/NEWS.d/next/Tests/2021-12-19-12-20-57.bpo-46129.I3MunH.rst +++ /dev/null @@ -1,2 +0,0 @@ -Rewrite ``asyncio.locks`` tests with -:class:`unittest.IsolatedAsyncioTestCase` usage. diff --git a/Misc/NEWS.d/next/Tests/2021-12-23-13-42-15.bpo-46150.RhtADs.rst b/Misc/NEWS.d/next/Tests/2021-12-23-13-42-15.bpo-46150.RhtADs.rst deleted file mode 100644 index 8ef9cd9..0000000 --- a/Misc/NEWS.d/next/Tests/2021-12-23-13-42-15.bpo-46150.RhtADs.rst +++ /dev/null @@ -1,2 +0,0 @@ -Now ``fakename`` in ``test_pathlib.PosixPathTest.test_expanduser`` is checked -to be non-existent. diff --git a/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst b/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst deleted file mode 100644 index 456d135..0000000 --- a/Misc/NEWS.d/next/Tests/2022-01-05-01-38-45.bpo-46262.MhiLWP.rst +++ /dev/null @@ -1 +0,0 @@ -Cover ``ValueError`` path in tests for :meth:`enum.Flag._missing_`. diff --git a/Misc/NEWS.d/next/Tests/2022-01-06-15-45-34.bpo-46263.bJXek6.rst b/Misc/NEWS.d/next/Tests/2022-01-06-15-45-34.bpo-46263.bJXek6.rst deleted file mode 100644 index 0334af4..0000000 --- a/Misc/NEWS.d/next/Tests/2022-01-06-15-45-34.bpo-46263.bJXek6.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not fill freed memory -with junk byte. diff --git a/Misc/NEWS.d/next/Tests/2022-01-07-14-06-12.bpo-46205.dnc2OC.rst b/Misc/NEWS.d/next/Tests/2022-01-07-14-06-12.bpo-46205.dnc2OC.rst deleted file mode 100644 index 7c6121f..0000000 --- a/Misc/NEWS.d/next/Tests/2022-01-07-14-06-12.bpo-46205.dnc2OC.rst +++ /dev/null @@ -1 +0,0 @@ -Fix hang in runtest_mp due to race condition diff --git a/Misc/NEWS.d/next/Tests/2022-01-08-00-00-38.bpo-46296.vqxgTm.rst b/Misc/NEWS.d/next/Tests/2022-01-08-00-00-38.bpo-46296.vqxgTm.rst deleted file mode 100644 index 9e0d470..0000000 --- a/Misc/NEWS.d/next/Tests/2022-01-08-00-00-38.bpo-46296.vqxgTm.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a test case for :mod:`enum` -with ``_use_args_ == True`` and ``_member_type_ == object``. diff --git a/Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst b/Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst deleted file mode 100644 index 78b3cd0..0000000 --- a/Misc/NEWS.d/next/Windows/2022-01-07-22-55-11.bpo-46217.tgJEsB.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed parameter that is unsupported on Windows 8.1 and early Windows 10 -and may have caused build or runtime failures. diff --git a/Misc/NEWS.d/next/macOS/2022-01-02-21-56-53.bpo-40477.W3nnM6.rst b/Misc/NEWS.d/next/macOS/2022-01-02-21-56-53.bpo-40477.W3nnM6.rst deleted file mode 100644 index fc953b8..0000000 --- a/Misc/NEWS.d/next/macOS/2022-01-02-21-56-53.bpo-40477.W3nnM6.rst +++ /dev/null @@ -1,2 +0,0 @@ -The Python Launcher app for macOS now properly launches scripts and, if -necessary, the Terminal app when running on recent macOS releases. @@ -1,4 +1,4 @@ -This is Python version 3.11.0 alpha 3 +This is Python version 3.11.0 alpha 4 ===================================== .. image:: https://github.com/python/cpython/workflows/Tests/badge.svg |