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 vstinner
Recipients lukasz.langa, nadeem.vawda, vstinner
Date 2011-01-06.02:23:43
SpamBayes Score 0.016181195
Marked as misclassified No
Message-id <1294280625.68.0.998301529304.issue10512@psf.upfronthosting.co.za>
In-reply-to
Content
test___all__ just loads ALL modules... and it doesn't unload them. I patched test___all__ to unload modules: the "ResourceWarning: unclosed file ... '/dev/null' ..." disappears, but a new error occurs. The multiprocessing module registers _exit_function() in the atexit module. If this module is unloaded, the callback stays in atexit, but the callback will raise an error when it is called because all module variables were cleared (set to None)...
History
Date User Action Args
2011-01-06 02:23:45vstinnersetrecipients: + vstinner, nadeem.vawda, lukasz.langa
2011-01-06 02:23:45vstinnersetmessageid: <1294280625.68.0.998301529304.issue10512@psf.upfronthosting.co.za>
2011-01-06 02:23:43vstinnerlinkissue10512 messages
2011-01-06 02:23:43vstinnercreate