Message123808
Clicked send too soon on the previous comment. :-(
The simplest way I see you can fix the __del__ issue is to patch TemporaryDirectory.__init__() as follows:
def __init__(self, suffix="", prefix=template, dir=None):
self._closed = True
self.name = mkdtemp(suffix, prefix, dir)
self._closed = False
This is based on the tempfile.py from the 3.2 beta 1 release on Windows. |
|
Date |
User |
Action |
Args |
2010-12-11 17:19:47 | Jurko.Gospodnetić | set | recipients:
+ Jurko.Gospodnetić, terry.reedy, ncoghlan, eric.araujo |
2010-12-11 17:19:47 | Jurko.Gospodnetić | set | messageid: <1292087987.33.0.177793536.issue10188@psf.upfronthosting.co.za> |
2010-12-11 17:19:46 | Jurko.Gospodnetić | link | issue10188 messages |
2010-12-11 17:19:46 | Jurko.Gospodnetić | create | |
|