summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-02-05 17:05:54 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-02-05 17:05:54 (GMT)
commitbb445a1f22835b97673f96da8f9edc75b69f5f2c (patch)
treef3d399d134896edc68edb46d5c761c385bbb20fe /Misc/NEWS
parent007a618a38d0c4dac9182fed9b22f3caf55dd1ea (diff)
downloadcpython-bb445a1f22835b97673f96da8f9edc75b69f5f2c.zip
cpython-bb445a1f22835b97673f96da8f9edc75b69f5f2c.tar.gz
cpython-bb445a1f22835b97673f96da8f9edc75b69f5f2c.tar.bz2
Issue #5677: Explicitly forbid write operations on read-only file objects,
and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9225c6f..66748ef 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.7 alpha 3?
Core and Builtins
-----------------
+- Issue #5677: Explicitly forbid write operations on read-only file objects,
+ and read operations on write-only file objects. On Windows, the system C
+ library would return a bogus result; on Solaris, it was possible to crash
+ the interpreter. Patch by Stefan Krah.
+
- Issue #7853: Normalize exceptions before they are passed to a context managers
__exit__ method.