Message119505
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. |
|
Date |
User |
Action |
Args |
2010-10-24 10:53:00 | ncoghlan | set | recipients:
+ ncoghlan |
2010-10-24 10:53:00 | ncoghlan | set | messageid: <1287917580.57.0.982180579105.issue10188@psf.upfronthosting.co.za> |
2010-10-24 10:52:58 | ncoghlan | link | issue10188 messages |
2010-10-24 10:52:58 | ncoghlan | create | |
|