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 pitrou
Recipients Valery.Lesin, amaury.forgeotdarc, benjamin.peterson, pitrou
Date 2010-10-12.21:19:37
SpamBayes Score 0.0017291275
Marked as misclassified No
Message-id <1286918379.22.0.492162780746.issue10068@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.

Yes, I think it's the best solution. People can easily copy the dict if they want to keep it around after the module gets destroyed.
History
Date User Action Args
2010-10-12 21:19:39pitrousetrecipients: + pitrou, amaury.forgeotdarc, benjamin.peterson, Valery.Lesin
2010-10-12 21:19:39pitrousetmessageid: <1286918379.22.0.492162780746.issue10068@psf.upfronthosting.co.za>
2010-10-12 21:19:37pitroulinkissue10068 messages
2010-10-12 21:19:37pitroucreate