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 Jurko.Gospodnetić
Recipients Jurko.Gospodnetić, eric.araujo, ncoghlan, terry.reedy
Date 2010-12-11.17:19:46
SpamBayes Score 3.436396e-06
Marked as misclassified No
Message-id <1292087987.33.0.177793536.issue10188@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-12-11 17:19:47Jurko.Gospodnetićsetrecipients: + Jurko.Gospodnetić, terry.reedy, ncoghlan, eric.araujo
2010-12-11 17:19:47Jurko.Gospodnetićsetmessageid: <1292087987.33.0.177793536.issue10188@psf.upfronthosting.co.za>
2010-12-11 17:19:46Jurko.Gospodnetićlinkissue10188 messages
2010-12-11 17:19:46Jurko.Gospodnetićcreate