Commit 9f571acd authored by Nick Coghlan's avatar Nick Coghlan

Avoid inconsistent use of 'finalizer'

parent 6f5e72e9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment