]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fixed issue #4233.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 20 Nov 2008 23:34:31 +0000 (23:34 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 20 Nov 2008 23:34:31 +0000 (23:34 +0000)
commit322656596abfd772b0573731a78676f4a16f2d34
tree5e138ae18baa1dee3ff6fd9a823cfacc5e67d62b
parentad100c3acb566a8a9a6094a9ace96c6399fab394
Fixed issue #4233.
Changed semantic of _fileio.FileIO's close()  method on file objects with closefd=False.
The file descriptor is still kept open but the file object behaves like a closed file.
The FileIO  object also got a new readonly attribute closefd.

Approved by Barry

Backport of r67106 from the py3k branch
Doc/library/io.rst
Lib/test/test_io.py
Misc/NEWS
Modules/_fileio.c