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 benjamin.peterson
Recipients Valery.Lesin, amaury.forgeotdarc, benjamin.peterson, pitrou
Date 2010-10-12.21:16:40
SpamBayes Score 0.00370317
Marked as misclassified No
Message-id <1286918202.44.0.519115682349.issue10068@psf.upfronthosting.co.za>
In-reply-to
Content
Tricky. I think the only way to do this properly is to call _PyModule_Clear when the dict is destroyed. However, there's no good way to flag a dictionary as a "module" dict. Therefore, I propose we remove the Py_REFCNT == 1 guard in module_dealloc, and simply leave as an open bug that modules will clear their dictionaries on deallocation. Thoughts?
History
Date User Action Args
2010-10-12 21:16:42benjamin.petersonsetrecipients: + benjamin.peterson, amaury.forgeotdarc, pitrou, Valery.Lesin
2010-10-12 21:16:42benjamin.petersonsetmessageid: <1286918202.44.0.519115682349.issue10068@psf.upfronthosting.co.za>
2010-10-12 21:16:41benjamin.petersonlinkissue10068 messages
2010-10-12 21:16:40benjamin.petersoncreate