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
9f571acd
Commit
9f571acd
authored
Sep 22, 2013
by
Nick Coghlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid inconsistent use of 'finalizer'
parent
6f5e72e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/weakref.rst
Doc/library/weakref.rst
+2
-2
No files found.
Doc/library/weakref.rst
View file @
9f571acd
...
...
@@ -540,8 +540,8 @@ no longer forced to :const:`None` during interpreter shutdown. So this
code should work without any issues on CPython.
However, handling of :meth:`__del__` methods is notoriously implementation
specific, since it depends on
how the interpreter's garbage collector
handles reference cycles and finalizers
.
specific, since it depends on
internal details of the interpreter's garbage
collector implementation
.
A more robust alternative can be to define a finalizer which only references
the specific functions and objects that it needs, rather than having access
...
...
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