]> granicus.if.org Git - python/commit
Fixed issue #4233.
authorChristian Heimes <christian@cheimes.de>
Wed, 5 Nov 2008 19:30:32 +0000 (19:30 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 5 Nov 2008 19:30:32 +0000 (19:30 +0000)
commitecc42a2b82858763818484572dccc7e88a3bdda1
treea8bad97b03850ab5ccbe33e14332e4840b409816
parentb37509b11b34fb4b2045162b88d4fa110cd4692b
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
Doc/library/io.rst
Lib/test/test_io.py
Misc/NEWS
Modules/_fileio.c