diff options
author | Thomas Wouters <thomas@python.org> | 2022-11-14 11:12:42 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2022-11-14 11:18:11 (GMT) |
commit | 3b9d793efcfd2c00c14ffbeab1a3389bf3b095ff (patch) | |
tree | e087ca2d68d9625d036606f2acb7a3f2d19b0d92 /Misc/NEWS.d/next/Core and Builtins | |
parent | db115682bd639a2642c617f0b7d5b30cd7d7f472 (diff) | |
download | cpython-3.12.0a2.zip cpython-3.12.0a2.tar.gz cpython-3.12.0a2.tar.bz2 |
Python 3.12.0a2v3.12.0a2
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins')
34 files changed, 0 insertions, 109 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-06-10-16-37-44.gh-issue-93696.65BI2R.rst b/Misc/NEWS.d/next/Core and Builtins/2022-06-10-16-37-44.gh-issue-93696.65BI2R.rst deleted file mode 100644 index 8eadab0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-06-10-16-37-44.gh-issue-93696.65BI2R.rst +++ /dev/null @@ -1 +0,0 @@ -Allow :mod:`pdb` to locate source for frozen modules in the standard library. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-07-30-14-10-27.gh-issue-95389.nSGEkG.rst b/Misc/NEWS.d/next/Core and Builtins/2022-07-30-14-10-27.gh-issue-95389.nSGEkG.rst deleted file mode 100644 index d31f00d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-07-30-14-10-27.gh-issue-95389.nSGEkG.rst +++ /dev/null @@ -1,3 +0,0 @@ -Expose :data:`~socket.ETH_P_ALL` and some of the -:ref:`ETHERTYPE_* constants <socket-ethernet-types>` in :mod:`socket`. -Patch by Noam Cohen. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-09-16-32-58.gh-issue-90716.z4yuYq.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-09-16-32-58.gh-issue-90716.z4yuYq.rst deleted file mode 100644 index d04e2c0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-09-09-16-32-58.gh-issue-90716.z4yuYq.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add _pylong.py module. It includes asymptotically faster algorithms that -can be used for operations on integers with many digits. It is used by -longobject.c to speed up some operations. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-13-14-07-06.gh-issue-96793.7DLRSm.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-13-14-07-06.gh-issue-96793.7DLRSm.rst deleted file mode 100644 index dc03fab..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-09-13-14-07-06.gh-issue-96793.7DLRSm.rst +++ /dev/null @@ -1,2 +0,0 @@ -The :opcode:`FOR_ITER` now leaves the iterator on the stack on termination -of the loop. This is to assist specialization of loops for generators. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-15-22-25-20.gh-issue-91058.Uo2kW-.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-15-22-25-20.gh-issue-91058.Uo2kW-.rst deleted file mode 100644 index 042c7ce..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-15-22-25-20.gh-issue-91058.Uo2kW-.rst +++ /dev/null @@ -1,3 +0,0 @@ -:exc:`ImportError` raised from failed ``from <module> import <name>`` now -include suggestions for the value of ``<name>`` based on the available names -in ``<module>``. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-15-23-15-14.gh-issue-92119.PMSwwG.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-15-23-15-14.gh-issue-92119.PMSwwG.rst deleted file mode 100644 index 7142fc6..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-15-23-15-14.gh-issue-92119.PMSwwG.rst +++ /dev/null @@ -1,2 +0,0 @@ -Print exception class name instead of its string representation when raising -errors from :mod:`ctypes` calls. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-16-13-26-46.gh-issue-98686.D9Gu_Q.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-16-13-26-46.gh-issue-98686.D9Gu_Q.rst deleted file mode 100644 index b97c1f9..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-16-13-26-46.gh-issue-98686.D9Gu_Q.rst +++ /dev/null @@ -1,2 +0,0 @@ -Quicken all code objects, and specialize adaptive bytecode instructions more -aggressively. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst deleted file mode 100644 index af2db1f..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-01-01-08.gh-issue-98415.ZS2eWh.rst +++ /dev/null @@ -1 +0,0 @@ -Fix detection of MAC addresses for :mod:`uuid` on certain OSs. Patch by Chaim Sanders diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-15-59-08.gh-issue-96421.e22y3r.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-15-59-08.gh-issue-96421.e22y3r.rst deleted file mode 100644 index 857ce7d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-15-59-08.gh-issue-96421.e22y3r.rst +++ /dev/null @@ -1,13 +0,0 @@ -When calling into Python code from C code, through :c:func:`PyEval_EvalFrameEx` or -a related C-API function, a shim frame in inserted into the call stack. -This occurs in the ``_PyEval_EvalFrameDefault()`` function. -The extra frame should be invisible to all Python and most C extensions, -but out-of-process profilers and debuggers need to be aware of it. -These shim frames can be detected by checking -``frame->owner == FRAME_OWNED_BY_CSTACK``. - -Extensions implementing their own interpreters using PEP 523 need to be -aware of this shim frame and the changes to the semantics of -:opcode:`RETURN_VALUE`, :opcode:`YIELD_VALUE`, and :opcode:`RETURN_GENERATOR`, -which now clear the frame. - diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst deleted file mode 100644 index 779ff6a..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-19-23-54-43.gh-issue-93143.1wCYub.rst +++ /dev/null @@ -1,4 +0,0 @@ -Rather than changing :attr:`~types.CodeType.co_code`, the interpreter will -now display a :exc:`RuntimeWarning` and assign :const:`None` to any fast -locals that are left unbound after jumps or :keyword:`del` -statements executed while tracing. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-21-11-28-53.gh-issue-99257.nmcuf-.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-21-11-28-53.gh-issue-99257.nmcuf-.rst deleted file mode 100644 index e8de568..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-21-11-28-53.gh-issue-99257.nmcuf-.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix an issue where member descriptors (such as those for -:attr:`~object.__slots__`) could behave incorrectly or crash instead of -raising a :exc:`TypeError` when accessed via an instance of an invalid type. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-24-10-30-30.gh-issue-98586.Tha5Iy.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-24-10-30-30.gh-issue-98586.Tha5Iy.rst deleted file mode 100644 index 6a1ae35..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-24-10-30-30.gh-issue-98586.Tha5Iy.rst +++ /dev/null @@ -1,7 +0,0 @@ -Added the methods :c:func:`PyObject_Vectorcall` and -:c:func:`PyObject_VectorcallMethod` to the :ref:`Limited API <stable>` along -with the auxiliary macro constant :const:`PY_VECTORCALL_ARGUMENTS_OFFSET`. - -The availability of these functions enables more efficient :PEP:`590` vector -calls from binary extension modules that avoid argument boxing/unboxing -overheads. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-27-16-42-16.gh-issue-98762.Eb2kzg.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-27-16-42-16.gh-issue-98762.Eb2kzg.rst deleted file mode 100644 index dc157fa..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-27-16-42-16.gh-issue-98762.Eb2kzg.rst +++ /dev/null @@ -1 +0,0 @@ -Fix source locations of :keyword:`match` sub-patterns. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst deleted file mode 100644 index 1545b98..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-09-42-51.gh-issue-96793.ucBfWO.rst +++ /dev/null @@ -1,3 +0,0 @@ -Add specialization of :opcode:`FOR_ITER` for generators. Saves multiple -layers of dispatch and checking to get from the :opcode:`FOR_ITER` -instruction in the caller to the :opcode:`RESUME` in the generator. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-13-59-51.gh-issue-98811.XQypJa.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-28-13-59-51.gh-issue-98811.XQypJa.rst deleted file mode 100644 index ce90a51..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-13-59-51.gh-issue-98811.XQypJa.rst +++ /dev/null @@ -1,4 +0,0 @@ -Use complete source locations to simplify detection of ``__future__`` -imports which are not at the beginning of the file. Also corrects the offset -in the exception raised in one case, which was off by one and impeded -highlighting. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-14-52-55.gh-issue-98783.iG0kMs.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-28-14-52-55.gh-issue-98783.iG0kMs.rst deleted file mode 100644 index da1e61e..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-28-14-52-55.gh-issue-98783.iG0kMs.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix multiple crashes in debug mode when ``str`` subclasses -are used instead of ``str`` itself. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-18-03-10.gh-issue-98925.zpdjVd.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-31-18-03-10.gh-issue-98925.zpdjVd.rst deleted file mode 100644 index 7c965dc..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-18-03-10.gh-issue-98925.zpdjVd.rst +++ /dev/null @@ -1,2 +0,0 @@ -Lower the recursion depth for marshal on WASI to support (in-development) -wasmtime 2.0. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-21-01-35.gh-issue-98852.MYaRN6.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-31-21-01-35.gh-issue-98852.MYaRN6.rst deleted file mode 100644 index 0e15819..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-21-01-35.gh-issue-98852.MYaRN6.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix subscription of type aliases containing bare generic types or types like -:class:`~typing.TypeVar`: for example ``tuple[A, T][int]`` and -``tuple[TypeVar, T][int]``, where ``A`` is a generic type, and ``T`` is a -type variable. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-22-55-34.gh-issue-98931.AoWZ-4.rst b/Misc/NEWS.d/next/Core and Builtins/2022-10-31-22-55-34.gh-issue-98931.AoWZ-4.rst deleted file mode 100644 index 7f73580..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-10-31-22-55-34.gh-issue-98931.AoWZ-4.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve the :exc:`SyntaxError` error message when the user types ``import x -from y`` instead of ``from y import x``. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-02-14-42-35.gh-issue-96793.q0Oi74.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-02-14-42-35.gh-issue-96793.q0Oi74.rst deleted file mode 100644 index 0a4b491..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-02-14-42-35.gh-issue-96793.q0Oi74.rst +++ /dev/null @@ -1,2 +0,0 @@ -Handle StopIteration and StopAsyncIteration raised in generator or -coroutines in the bytecode, rather than in wrapping C code. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-02-17-02-06.gh-issue-98401.y-dbVW.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-02-17-02-06.gh-issue-98401.y-dbVW.rst deleted file mode 100644 index 05b33c2..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-02-17-02-06.gh-issue-98401.y-dbVW.rst +++ /dev/null @@ -1,7 +0,0 @@ -A backslash-character pair that is not a valid escape sequence now generates a -:exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. For example, -``re.compile("\d+\.\d+")`` now emits a :exc:`SyntaxWarning` (``"\d"`` is an -invalid escape sequence), use raw strings for regular expression: -``re.compile(r"\d+\.\d+")``. In a future Python version, :exc:`SyntaxError` -will eventually be raised, instead of :exc:`SyntaxWarning`. Patch by Victor -Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-03-13-11-17.gh-issue-98401.CBS4nv.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-03-13-11-17.gh-issue-98401.CBS4nv.rst deleted file mode 100644 index fbfec10..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-03-13-11-17.gh-issue-98401.CBS4nv.rst +++ /dev/null @@ -1,4 +0,0 @@ -Octal escapes with value larger than ``0o377`` (ex: ``"\477"``), deprecated -in Python 3.11, now produce a :exc:`SyntaxWarning`, instead of -:exc:`DeprecationWarning`. In a future Python version they will be -eventually a :exc:`SyntaxError`. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-05-18-36-27.gh-issue-99139.cI9vV1.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-05-18-36-27.gh-issue-99139.cI9vV1.rst deleted file mode 100644 index 62b78b9..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-05-18-36-27.gh-issue-99139.cI9vV1.rst +++ /dev/null @@ -1,5 +0,0 @@ -Improve the error suggestion for :exc:`NameError` exceptions for instances. -Now if a :exc:`NameError` is raised in a method and the instance has an -attribute that's exactly equal to the name in the exception, the suggestion -will include ``self.<NAME>`` instead of the closest match in the method -scope. Patch by Pablo Galindo diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-17-58.gh-issue-99103.bFA9BX.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-17-58.gh-issue-99103.bFA9BX.rst deleted file mode 100644 index f5378eb..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-17-58.gh-issue-99103.bFA9BX.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix the error reporting positions of specialized traceback anchors when the -source line contains Unicode characters. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-47-11.gh-issue-98686.DBDy6U.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-47-11.gh-issue-98686.DBDy6U.rst deleted file mode 100644 index f259b38..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-00-47-11.gh-issue-98686.DBDy6U.rst +++ /dev/null @@ -1,5 +0,0 @@ -Merge the adaptive opcode logic into each instruction's unquickened variant, -and merge the logic in ``EXTENDED_ARG_QUICK`` into :opcode:`EXTENDED_ARG`. -With these changes, the quickening that happens at code object creation is -now only responsible for initializing warmup counters and inserting -superinstructions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-13-25-01.gh-issue-99153.uE3CVL.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-06-13-25-01.gh-issue-99153.uE3CVL.rst deleted file mode 100644 index 0445afb..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-13-25-01.gh-issue-99153.uE3CVL.rst +++ /dev/null @@ -1 +0,0 @@ -Fix location of :exc:`SyntaxError` for a :keyword:`try` block with both :keyword:`except` and :keyword:`except* <except_star>`. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-22-59-02.gh-issue-96055.TmQuJn.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-06-22-59-02.gh-issue-96055.TmQuJn.rst deleted file mode 100644 index c72fb21..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-06-22-59-02.gh-issue-96055.TmQuJn.rst +++ /dev/null @@ -1,2 +0,0 @@ -Update :mod:`faulthandler` to emit an error message with the proper -unexpected signal number. Patch by Dong-hee Na. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-08-17-12.gh-issue-99204.Mf4hMD.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-07-08-17-12.gh-issue-99204.Mf4hMD.rst deleted file mode 100644 index 571cdd0..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-08-17-12.gh-issue-99204.Mf4hMD.rst +++ /dev/null @@ -1,4 +0,0 @@ -Fix calculation of :data:`sys._base_executable` when inside a POSIX virtual -environment using copies of the python binary when the base installation does -not provide the executable name used by the venv. Calculation will fall back to -alternative names ("python<MAJOR>", "python<MAJOR>.<MINOR>"). diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-10-29-41.gh-issue-99181.bfG4bI.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-07-10-29-41.gh-issue-99181.bfG4bI.rst deleted file mode 100644 index aa6160d..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-10-29-41.gh-issue-99181.bfG4bI.rst +++ /dev/null @@ -1 +0,0 @@ -Fix failure in :keyword:`except* <except_star>` with unhashable exceptions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-14-16-59.gh-issue-81057.3uKlLQ.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-07-14-16-59.gh-issue-81057.3uKlLQ.rst deleted file mode 100644 index 90bc240..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-07-14-16-59.gh-issue-81057.3uKlLQ.rst +++ /dev/null @@ -1,3 +0,0 @@ -The 18 global C variables holding the state of the allocators have been -moved to ``_PyRuntimeState``. This is a strictly internal change with no -change in behavior. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-08-16-35-25.gh-issue-99205.2YOoFT.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-08-16-35-25.gh-issue-99205.2YOoFT.rst deleted file mode 100644 index 8ad0e14..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-08-16-35-25.gh-issue-99205.2YOoFT.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an issue that prevented :c:type:`PyThreadState` and -:c:type:`PyInterpreterState` memory from being freed properly. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-08-17-47-10.gh-issue-99254.RSvyFt.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-08-17-47-10.gh-issue-99254.RSvyFt.rst deleted file mode 100644 index e3adbcc..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-08-17-47-10.gh-issue-99254.RSvyFt.rst +++ /dev/null @@ -1 +0,0 @@ -The compiler now removes all unused constants from code objects (except the first one, which may be a docstring). diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-09-12-07-24.gh-issue-99298.NeArAJ.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-09-12-07-24.gh-issue-99298.NeArAJ.rst deleted file mode 100644 index 8908bfa..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-09-12-07-24.gh-issue-99298.NeArAJ.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an issue that could potentially cause incorrect error handling for some -bytecode instructions. diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-11-11-14-48-17.gh-issue-81057.ik4iOv.rst b/Misc/NEWS.d/next/Core and Builtins/2022-11-11-14-48-17.gh-issue-81057.ik4iOv.rst deleted file mode 100644 index 7474cee..0000000 --- a/Misc/NEWS.d/next/Core and Builtins/2022-11-11-14-48-17.gh-issue-81057.ik4iOv.rst +++ /dev/null @@ -1,6 +0,0 @@ -The docs clearly say that ``PyImport_Inittab``, -:c:func:`PyImport_AppendInittab`, and :c:func:`PyImport_ExtendInittab` -should not be used after :c:func:`Py_Initialize` has been called. -We now enforce this for the two functions. Additionally, the runtime -now uses an internal copy of ``PyImport_Inittab``, -to guard against modification. |