summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-12-06 03:15:05 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-12-06 03:15:05 (GMT)
commit0bb62b12a3a13486c29092b38081391487119223 (patch)
treeb4df3a9178ba57e815488bc8ce9e7a85b2929ec8 /Misc
parentc4b8979a2f6f78ba0bf835c3b8ba8ec671659204 (diff)
downloadcpython-0bb62b12a3a13486c29092b38081391487119223.zip
cpython-0bb62b12a3a13486c29092b38081391487119223.tar.gz
cpython-0bb62b12a3a13486c29092b38081391487119223.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4399da2..f868037 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,6 +22,10 @@ Core and Builtins
Library
-------
+- Issue #25717: Restore the previous behaviour of tolerating most fstat()
+ errors when opening files. This was a regression in 3.5a1, and stopped
+ anonymous temporary files from working in special cases.
+
- Issue #24903: Fix regression in number of arguments compileall accepts when
'-d' is specified. The check on the number of arguments has been dropped
completely as it never worked correctly anyway.