Issue #25717: Tolerate fstat() failures in the FileIO constructor · pythoncapi/cpython@0bb62b1 · GitHub
Skip to content

Commit 0bb62b1

Browse files
committed
Issue python#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.
1 parent c4b8979 commit 0bb62b1

2 files changed

Lines changed: 31 additions & 12 deletions

File tree

Misc/NEWS

Lines changed: 4 additions & 0 deletions

Modules/_io/fileio.c

Lines changed: 27 additions & 12 deletions

0 commit comments

Comments
 (0)