Richard Oudkerk added the comment:
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 rai
New submission from R. David Murray:
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