This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients amaury.forgeotdarc, sbt, techtonik
Date 2012-12-19.22:13:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Things should be better in the future, when modules are cleared with true 
> garbage collection.

When is this future of which you speak?

I am not sure whether it would affect performance, but a weakrefable subclass of dict could be used for module dicts.  Then the module destructor could just save the module's dict in a WeakValueDictionary keyed by the id (assuming we are not yet shutting down).  At shutdown the saved module dicts could be purged by replacing all values with None.

Or maybe something similar is possible without using a dict subclass.
Date User Action Args
2012-12-19 22:13:37sbtsetrecipients: + sbt, amaury.forgeotdarc, techtonik
2012-12-19 22:13:37sbtsetmessageid: <>
2012-12-19 22:13:37sbtlinkissue16718 messages
2012-12-19 22:13:36sbtcreate