Author sbt
Recipients amaury.forgeotdarc, sbt, techtonik
Date 2012-12-19.22:13:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1355955217.21.0.228498229694.issue16718@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-12-19 22:13:37sbtsetrecipients: + sbt, amaury.forgeotdarc, techtonik
2012-12-19 22:13:37sbtsetmessageid: <1355955217.21.0.228498229694.issue16718@psf.upfronthosting.co.za>
2012-12-19 22:13:37sbtlinkissue16718 messages
2012-12-19 22:13:36sbtcreate