Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions Misc/NEWS.d/3.10.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ convention. Patch by Donghee Na.
.. bpo: 1635741
.. date: 2020-09-26-14-43-30
.. nonce: aJS9B3
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_bisect` module to the multi-phase initialization API
(:pep:`489`).
Expand Down Expand Up @@ -126,7 +126,7 @@ Taskaya.
.. bpo: 1635741
.. date: 2020-09-12-18-34-34
.. nonce: lh335O
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_lsprof` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -136,7 +136,7 @@ Port the :mod:`!_lsprof` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-08-21-58-47
.. nonce: vdjSLH
.. section: Core and Builtins
.. section: Library

Port the :mod:`cmath` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -146,7 +146,7 @@ Port the :mod:`cmath` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-08-20-39-43
.. nonce: jiXmyT
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_scproxy` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -156,7 +156,7 @@ Port the :mod:`!_scproxy` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-07-11-35-02
.. nonce: rvIexb
.. section: Core and Builtins
.. section: Library

Port the :mod:`termios` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -166,7 +166,7 @@ Port the :mod:`termios` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-07-09-45-47
.. nonce: QuDIut
.. section: Core and Builtins
.. section: Library

Convert the :mod:`!_sha256` extension module types to heap types.

Expand All @@ -185,7 +185,7 @@ classes with a huge amount of arguments. Patch by Pablo Galindo.
.. bpo: 1635741
.. date: 2020-09-01-17-22-35
.. nonce: CnRME3
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_overlapped` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -195,7 +195,7 @@ Port the :mod:`!_overlapped` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-01-17-08-07
.. nonce: X9CZgo
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_curses_panel` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -205,7 +205,7 @@ Port the :mod:`!_curses_panel` extension module to multi-phase initialization
.. bpo: 1635741
.. date: 2020-09-01-17-06-02
.. nonce: 5jZymK
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_opcode` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -225,7 +225,7 @@ format string in f-string and :meth:`str.format`.
.. bpo: 41675
.. date: 2020-08-31-14-53-17
.. nonce: VSoqWU
.. section: Core and Builtins
.. section: Library

The implementation of :func:`signal.siginterrupt` now uses
:c:func:`!sigaction` (if it is available in the system) instead of the
Expand Down Expand Up @@ -257,7 +257,7 @@ Fix a crash that occurred when destroying subclasses of
.. bpo: 1635741
.. date: 2020-08-28-20-54-04
.. nonce: 7ijlcI
.. section: Core and Builtins
.. section: Library

Port the :mod:`zlib` extension module to multi-phase initialization
(:pep:`489`).
Expand All @@ -280,7 +280,7 @@ initialized ``_ast`` module.
.. bpo: 40077
.. date: 2020-08-25-22-43-33
.. nonce: vcxSUa
.. section: Core and Builtins
.. section: Library

Convert :mod:`!_operator` to use :c:func:`PyType_FromSpec`.

Expand All @@ -298,7 +298,7 @@ Port :mod:`!_sha3` to multi-phase init. Convert static types to heap types.
.. bpo: 1635741
.. date: 2020-08-13-07-18-05
.. nonce: FC13e7
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_blake2` extension module to the multi-phase initialization
API (:pep:`489`).
Expand Down Expand Up @@ -337,7 +337,7 @@ The output of ``python --help`` contains now only ASCII characters.
.. bpo: 1635741
.. date: 2020-08-10-16-11-32
.. nonce: O0d3ym
.. section: Core and Builtins
.. section: Library

Port the :mod:`!_sha1`, :mod:`!_sha512`, and :mod:`!_md5` extension modules to
multi-phase initialization API (:pep:`489`).
Expand Down Expand Up @@ -454,7 +454,7 @@ Port :mod:`multiprocessing` to multi-phase initialization
.. bpo: 1635741
.. date: 2020-07-06-20-43-19
.. nonce: LYhsni
.. section: Core and Builtins
.. section: Library

Port :mod:`winapi` to multiphase initialization

Expand Down Expand Up @@ -486,7 +486,7 @@ will tagged as so.
.. bpo: 1635741
.. date: 2020-07-03-23-10-02
.. nonce: F5coWe
.. section: Core and Builtins
.. section: Library

Port :mod:`faulthandler` to multiphase initialization.

Expand All @@ -495,7 +495,7 @@ Port :mod:`faulthandler` to multiphase initialization.
.. bpo: 1635741
.. date: 2020-07-01-20-17-38
.. nonce: -AtPYu
.. section: Core and Builtins
.. section: Library

Port :mod:`sha256` to multiphase initialization

Expand Down Expand Up @@ -634,7 +634,7 @@ Remove the remaining files from the old parser and the :mod:`symbol` module.
.. bpo: 40077
.. date: 2020-06-18-19-04-30
.. nonce: _yI-ax
.. section: Core and Builtins
.. section: Library

Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`.

Expand Down Expand Up @@ -712,7 +712,7 @@ Fix refleak in _Py_fopen_obj() when PySys_Audit() fails
.. bpo: 40950
.. date: 2020-06-12-00-12-28
.. nonce: tzMy7m
.. section: Core and Builtins
.. section: Library

Add a state to the :mod:`!nis` module (:pep:`3121`) and apply the multiphase
initialization. Patch by Donghee Na.
Expand Down Expand Up @@ -999,7 +999,7 @@ Improve performance of generators by not raising internal StopIteration.
.. bpo: 1635741
.. date: 2020-04-10-23-54-57
.. nonce: ZURqoN
.. section: Core and Builtins
.. section: Library

Port :mod:`mmap` to multiphase initialization.

Expand All @@ -1008,7 +1008,7 @@ Port :mod:`mmap` to multiphase initialization.
.. bpo: 1635741
.. date: 2020-04-05-02-35-08
.. nonce: Kfe9fT
.. section: Core and Builtins
.. section: Library

Port :mod:`!_lzma` to multiphase initialization.

Expand Down Expand Up @@ -1040,7 +1040,7 @@ representation of an integer. Patch by Niklas Fiekas.
.. bpo: 36982
.. date: 2019-05-25-05-27-39
.. nonce: 0UHgfB
.. section: Core and Builtins
.. section: Library

Use ncurses extended color functions when available to support terminals
with 256 colors, and add the new function
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.10.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Micro optimization for range.index if step is 1. Patch by Donghee Na.
.. bpo: 41435
.. date: 2020-08-07-13-42-48
.. nonce: qPWjJA
.. section: Core and Builtins
.. section: Library

Add ``sys._current_exceptions()`` function to retrieve a dictionary mapping
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sysmodule is a core & built-in strictly speaking, but I think it's fine to keep it under Library as it's the user-facing stuff.

This comment was marked as spam.

each thread's identifier to the topmost exception currently active in that
Expand Down
6 changes: 3 additions & 3 deletions Misc/NEWS.d/3.10.0a3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ non-buffer object.
.. bpo: 1635741
.. date: 2020-11-18-23-46-31
.. nonce: GVOQ-m
.. section: Core and Builtins
.. section: Library

Port the ``_warnings`` extension module to the multi-phase initialization
Comment on lines +92 to 94
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this change is in Python/_warnings.c, should this entry stay under Core and Builtins?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in Python because we need to access it from everywhere, but the module itself is more as a "library" module. @serhiy-storchaka thoughts on this one? I think it doesn't really matter though (and it could even be a "build" change...).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is on border. I have no strong opinion.

There is a stable C API for warnings, but it can be used without importing the module, and I think this change did not affect the users of this C API. So, I think it is fine to keep Library.

API (:pep:`489`). Patch by Victor Stinner.
Expand Down Expand Up @@ -204,7 +204,7 @@ Pablo Galindo.
.. bpo: 40077
.. date: 2020-11-03-21-58-27
.. nonce: a9qM1j
.. section: Core and Builtins
.. section: Library

Convert :mod:`queue` to use heap types.

Expand All @@ -223,7 +223,7 @@ objects. See PEP 626 for details.
.. bpo: 40077
.. date: 2020-11-02-14-39-48
.. nonce: grY9TG
.. section: Core and Builtins
.. section: Library

Convert :mod:`mmap` to use heap types.

Expand Down
12 changes: 6 additions & 6 deletions Misc/NEWS.d/3.10.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ blocks
.. bpo: 42639
.. date: 2020-12-09-01-55-10
.. nonce: 5pI5HG
.. section: Core and Builtins
.. section: Library

Make the :mod:`atexit` module state per-interpreter. It is now safe have
more than one :mod:`atexit` module instance. Patch by Donghee Na and Victor
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per PR description (Core and Builtins)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a distinction between a built-in module and a built-in. I'd leave it in "Library" here. (A builtin module is a module that is always in the interpreter and contributes to its overall filesize; it's also statically linked). What matters here is what happens for the user (that is, they can now use atexit in sub-interpreters).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no stable public C API for atexit. Even if this is tied to interpreter internals, the only way it can be used by importing the atexit module. So, Library.

Expand All @@ -124,7 +124,7 @@ the filename.
.. bpo: 42195
.. date: 2020-11-20-00-57-47
.. nonce: HeqcpS
.. section: Core and Builtins
.. section: Library

The ``__args__`` of the parameterized generics for :data:`typing.Callable`
and :class:`collections.abc.Callable` are now consistent. The ``__args__``
Expand All @@ -143,7 +143,7 @@ Ken Jin.
.. bpo: 40137
.. date: 2020-11-19-23-12-57
.. nonce: bihl9O
.. section: Core and Builtins
.. section: Library

Convert functools module to use :c:func:`PyType_FromModuleAndSpec`.

Expand All @@ -152,7 +152,7 @@ Convert functools module to use :c:func:`PyType_FromModuleAndSpec`.
.. bpo: 40077
.. date: 2020-11-03-13-46-10
.. nonce: NfAIdj
.. section: Core and Builtins
.. section: Library

Convert :mod:`array` to use heap types, and establish module state for
these.
Expand All @@ -162,7 +162,7 @@ these.
.. bpo: 42008
.. date: 2020-10-12-14-51-59
.. nonce: ijWw2I
.. section: Core and Builtins
.. section: Library

Fix _random.Random() seeding.

Expand All @@ -171,7 +171,7 @@ Fix _random.Random() seeding.
.. bpo: 1635741
.. date: 2020-09-12-19-21-52
.. nonce: F2kDrU
.. section: Core and Builtins
.. section: Library

Port the :mod:`pyexpat` extension module to multi-phase initialization
(:pep:`489`).
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.10.0a5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ frame.f_lineno is correct even if frame.f_trace is set to True
.. bpo: 37324
.. date: 2020-12-12-20-09-12
.. nonce: jB-9_U
.. section: Core and Builtins
.. section: Library

Remove deprecated aliases to :ref:`collections-abstract-base-classes` from
the :mod:`collections` module.
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.10.0a6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Patch by Pablo Galindo.
.. bpo: 42819
.. date: 2021-01-04-23-54-34
.. nonce: 4KO6wU
.. section: Core and Builtins
.. section: Library
:mod:`readline`: Explicitly disable bracketed paste in the interactive
interpreter, even if it's set in the inputrc, is enabled by default (eg GNU
Expand Down Expand Up @@ -144,7 +144,7 @@ Implement :pep:`634` (structural pattern matching). Patch by Brandt Bucher.
.. bpo: 40692
.. date: 2020-05-19-22-10-05
.. nonce: ajEhrR
.. section: Core and Builtins
.. section: Library
In the :class:`concurrent.futures.ProcessPoolExecutor`, validate that
:func:`multiprocess.synchronize` is available on a given platform and rely
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.10.0a7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ instruction dispatch a bit.
.. bpo: 40645
.. date: 2021-03-29-11-55-06
.. nonce: PhaT-B
.. section: Core and Builtins
.. section: Library

Fix reference leak in the :mod:`!_hashopenssl` extension. Patch by Pablo
Galindo.
Expand Down
6 changes: 3 additions & 3 deletions Misc/NEWS.d/3.10.0b1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ line number tables more robust in some circumstances.
.. bpo: 43908
.. date: 2021-04-26-21-20-41
.. nonce: 2L51nO
.. section: Core and Builtins
.. section: Library

Make :mod:`re` types immutable. Patch by Erlend E. Aasland.

Expand All @@ -211,7 +211,7 @@ Make :mod:`re` types immutable. Patch by Erlend E. Aasland.
.. bpo: 43908
.. date: 2021-04-26-20-59-17
.. nonce: -COW4-
.. section: Core and Builtins
.. section: Library

Make the :class:`array.array` type immutable. Patch by Erlend E. Aasland.

Expand Down Expand Up @@ -442,7 +442,7 @@ coroutine.
.. bpo: 43105
.. date: 2021-03-31-20-35-11
.. nonce: PBVmHm
.. section: Core and Builtins
.. section: Library

Importlib now resolves relative paths when creating module spec objects from
file locations.
Expand Down
Loading
Loading