Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ca794619
Commit
ca794619
authored
Dec 22, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rewrite module-globals summary entry, and expand the full description a bit.
parent
2aa9d52e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+6
-3
No files found.
Doc/whatsnew/3.4.rst
View file @
ca794619
...
...
@@ -124,11 +124,11 @@ Significantly Improved Library Modules:
CPython implementation improvements:
* :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:`456`: :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
* :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`).
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
: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::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment