]> granicus.if.org Git - python/commit
Merged revisions 77989 via svnmerge from
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 5 Feb 2010 17:11:32 +0000 (17:11 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 5 Feb 2010 17:11:32 +0000 (17:11 +0000)
commit2483728850cc3c12920d7794ac01a3e890995622
tree8ff5e130979103dda76979f4fa5e962ddf266a08
parent6e127db0ed5288f1917bb166b561bd601fcc51c6
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.
........
Include/fileobject.h
Lib/test/test_file.py
Lib/test/test_sys.py
Misc/ACKS
Misc/NEWS
Objects/fileobject.c