commit | 2483728850cc3c12920d7794ac01a3e890995622 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Fri Feb 05 17:11:32 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Fri Feb 05 17:11:32 2010 +0000 |
tree | 8ff5e130979103dda76979f4fa5e962ddf266a08 | |
parent | 6e127db0ed5288f1917bb166b561bd601fcc51c6 [diff] |
Merged revisions 77989 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines 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. ........