mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Rewrite module-globals summary entry, and expand the full description a bit.
This commit is contained in:
parent
2aa9d52ed2
commit
ca7946193f
1 changed files with 6 additions and 3 deletions
|
@ -124,11 +124,11 @@ Significantly Improved Library Modules:
|
||||||
CPython implementation improvements:
|
CPython implementation improvements:
|
||||||
|
|
||||||
* :pep:`442`: :ref:`Safe object finalization <whatsnew-pep-442>`
|
* :pep:`442`: :ref:`Safe object finalization <whatsnew-pep-442>`
|
||||||
|
* Leveraging :pep:`442`, :ref:`module globals are no longer set to None
|
||||||
|
during finalization <whatsnew-pep-442>`, in most cases (:issue:`18214`).
|
||||||
* :pep:`445`: :ref:`Configurable memory allocators <whatsnew-pep-445>`
|
* :pep:`445`: :ref:`Configurable memory allocators <whatsnew-pep-445>`
|
||||||
* :pep:`456`: :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
|
* :pep:`456`: :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
|
||||||
* :pep:`436`: :ref:`Argument Clinic <whatsnew-pep-436>`.
|
* :pep:`436`: :ref:`Argument Clinic <whatsnew-pep-436>`.
|
||||||
* Improve finalization of Python modules to avoid setting their globals
|
|
||||||
to None, in most cases (:issue:`18214`).
|
|
||||||
* A more efficient :mod:`marshal` format (:issue:`16475`).
|
* A more efficient :mod:`marshal` format (:issue:`16475`).
|
||||||
|
|
||||||
Please read on for a comprehensive list of user-facing changes.
|
Please read on for a comprehensive list of user-facing changes.
|
||||||
|
@ -933,7 +933,10 @@ part of a reference cycle.
|
||||||
|
|
||||||
As part of this change, module globals are no longer forcibly set to
|
As part of this change, module globals are no longer forcibly set to
|
||||||
:const:`None` during interpreter shutdown in most cases, instead relying
|
:const:`None` during interpreter shutdown in most cases, instead relying
|
||||||
on the normal operation of the cyclic garbage collector.
|
on the normal operation of the cyclic garbage collector. This avoids a
|
||||||
|
whole class of interpreter-shutdown-time errors, usually involving
|
||||||
|
``__del__`` methods, that have plagued Python since the cyclic GC
|
||||||
|
was first introduced.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue