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 serhiy.storchaka
Recipients BreamoreBoy, georg.brandl, ncoghlan, rupole, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2015-02-17.12:32:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424176354.58.0.479561611186.issue22107@psf.upfronthosting.co.za>
In-reply-to
Content
The main issue is not tempfile raises a FileExistsError, but that it hangs for several seconds (for example if the temp dir doesn't exist). The patch allows to fail early and try other temp dir.

os.access() is not enough, we can add os.path.isdir(). Could you please run tests on patched Python on Windows and say what tests are failed?
History
Date User Action Args
2015-02-17 12:32:34serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, ncoghlan, rupole, tim.golden, BreamoreBoy, zach.ware, steve.dower
2015-02-17 12:32:34serhiy.storchakasetmessageid: <1424176354.58.0.479561611186.issue22107@psf.upfronthosting.co.za>
2015-02-17 12:32:34serhiy.storchakalinkissue22107 messages
2015-02-17 12:32:34serhiy.storchakacreate