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, paul.moore, python-dev, rupole, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2015-05-19.21:24:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432070672.59.0.100405300183.issue22107@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately the patch doesn't fix original issue and looks as this can't be fixed until os.access will be more useful on Windows. But it fixes several related issues. mkstemp() now fails early if parent directory doesn't exist or is a file. gettempdir() and mkdtemp() now try again in case of collision on Windows as well as on Unix. I hope that fixing os.access will automatically fix original issue.

Thanks Mark and Paul for testing on Windows. Thanks Tim for explaining issue with os.access.
History
Date User Action Args
2015-05-19 21:24:32serhiy.storchakasetrecipients: + serhiy.storchaka, georg.brandl, paul.moore, ncoghlan, rupole, tim.golden, BreamoreBoy, python-dev, zach.ware, steve.dower
2015-05-19 21:24:32serhiy.storchakasetmessageid: <1432070672.59.0.100405300183.issue22107@psf.upfronthosting.co.za>
2015-05-19 21:24:32serhiy.storchakalinkissue22107 messages
2015-05-19 21:24:32serhiy.storchakacreate