Issue 20153: New-in-3.4 weakref finalizer doc section is already out of date. (original) (raw)

Issue20153

Created on 2014-01-06 21:58 by r.david.murray, last changed 2022-04-11 14:57 by admin.

Messages (2)
msg207489 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2014-01-06 21:58
The following discussion section in the weakref docs: http://docs.python.org/dev/library/weakref.html#comparing-finalizers-with-del-methods which was added in 3.4, is out of date because of the GC improvements. It should be tweaked to match the new reality. (I've already deleted the Note under __callback__.)
msg207714 - (view) Author: Richard Oudkerk (sbt) * (Python committer) Date: 2014-01-08 23:56
The following from the docs is wrong: > ... module globals are no longer forced to None during interpreter > shutdown. Actually, in 3.4 module globals *sometimes* get forced to None during interpreter shutdown, so the version the __del__ method can still raise an exception.
History
Date User Action Args
2022-04-11 14:57:56 admin set github: 64352
2014-01-08 23:56:32 sbt set messages: +
2014-01-06 21:58:43 r.david.murray create