Message177785
> 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:37 | sbt | set | recipients:
+ sbt, amaury.forgeotdarc, techtonik |
2012-12-19 22:13:37 | sbt | set | messageid: <1355955217.21.0.228498229694.issue16718@psf.upfronthosting.co.za> |
2012-12-19 22:13:37 | sbt | link | issue16718 messages |
2012-12-19 22:13:36 | sbt | create | |
|