Author ncoghlan
Recipients ncoghlan
Date 2010-10-24.10:52:58
SpamBayes Score 6.48003e-05
Marked as misclassified No
Message-id <1287917580.57.0.982180579105.issue10188@psf.upfronthosting.co.za>
In-reply-to
Content
During interpreter shutdown, modules can become unusable as module globals are set to None. This is a problem for tempfile.TemporaryDirectory, as it needs working os, os.path and stat modules in order to clean up the filesystem.

The class makes a valiant attempt at reducing the frequency of these errors, but it is ultimately useless, since the three modules internally rely on their various globals remaining valid.

Issue #812369 may be a possible solution to this problem, or perhaps even an explicit list of essential modules that are nulled out only after all other modules have been destroyed.
History
Date User Action Args
2010-10-24 10:53:00ncoghlansetrecipients: + ncoghlan
2010-10-24 10:53:00ncoghlansetmessageid: <1287917580.57.0.982180579105.issue10188@psf.upfronthosting.co.za>
2010-10-24 10:52:58ncoghlanlinkissue10188 messages
2010-10-24 10:52:58ncoghlancreate