]> granicus.if.org Git - python/commit
Issue #25717: Tolerate fstat() failures in the FileIO constructor
authorMartin Panter <vadmium+py@gmail.com>
Sun, 6 Dec 2015 03:15:05 +0000 (03:15 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 6 Dec 2015 03:15:05 +0000 (03:15 +0000)
commit0bb62b12a3a13486c29092b38081391487119223
treeb4df3a9178ba57e815488bc8ce9e7a85b2929ec8
parentc4b8979a2f6f78ba0bf835c3b8ba8ec671659204
Issue #25717: Tolerate fstat() failures in the FileIO constructor

This restores 3.4 behaviour, which was removed by revision 3b5279b5bfd1. The
fstat() call fails with ENOENT for a Virtual Box shared folder filesystem if
the file entry has been unlinked, e.g. for a temporary file.
Misc/NEWS
Modules/_io/fileio.c