Message224304
_mkstemp_inner assumes that an access denied error means that it
has generated a filename that matches an existing foldername.
However, in the case of a folder for which you don't have permissions to
create a file, this means it will loop thru the maximum possible number of files.
This causes it to hang for several seconds and eventually return a bogus
FileExistsError.
Similar behaviour exists in 2.7.7, but it throws an IOError instead.
http://bugs.python.org/issue18849 seems to be where this was introduced. |
|
Date |
User |
Action |
Args |
2014-07-30 12:40:41 | rupole | set | recipients:
+ rupole |
2014-07-30 12:40:41 | rupole | set | messageid: <1406724041.52.0.0365391579019.issue22107@psf.upfronthosting.co.za> |
2014-07-30 12:40:41 | rupole | link | issue22107 messages |
2014-07-30 12:40:41 | rupole | create | |
|