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 Antony.Lee
Recipients Antony.Lee
Date 2014-01-15.04:48:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389761308.4.0.00958902784577.issue20267@psf.upfronthosting.co.za>
In-reply-to
Content
Essentially, the following fails:

t = tempfile.TemporaryDirectory(dir=".")
os.chdir(some_other_dir)
t.cleanup()

because t.name is a relative path.  Resolving the "dir" argument when the directory is created should(?) fix the issue.
History
Date User Action Args
2014-01-15 04:48:28Antony.Leesetrecipients: + Antony.Lee
2014-01-15 04:48:28Antony.Leesetmessageid: <1389761308.4.0.00958902784577.issue20267@psf.upfronthosting.co.za>
2014-01-15 04:48:28Antony.Leelinkissue20267 messages
2014-01-15 04:48:28Antony.Leecreate