[issue16718] Mysterious atexit fail

Richard Oudkerk report at bugs.python.org
Thu Dec 20 21:00:25 CET 2012


Richard Oudkerk added the comment:

Perhaps the simplest thing would be to stop doing anything special when a module is garbage collected: the garbage collector can take care of any orphaned ref-cycles involving the module dict.  Then at shutdown the remaining modules in sys.modules could have their dicts "purged" in the old way.

This would be orthogonal to issue812369.  In fact Armin's original post says that this is a change worth investigating, though his patch does not do it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16718>
_______________________________________


More information about the Python-bugs-list mailing list