diff options
author | Christian Heimes <christian@cheimes.de> | 2008-11-05 19:30:32 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-11-05 19:30:32 (GMT) |
commit | ecc42a2b82858763818484572dccc7e88a3bdda1 (patch) | |
tree | a8bad97b03850ab5ccbe33e14332e4840b409816 /Misc | |
parent | b37509b11b34fb4b2045162b88d4fa110cd4692b (diff) | |
download | cpython-ecc42a2b82858763818484572dccc7e88a3bdda1.zip cpython-ecc42a2b82858763818484572dccc7e88a3bdda1.tar.gz cpython-ecc42a2b82858763818484572dccc7e88a3bdda1.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -15,6 +15,11 @@ What's New in Python 3.0 beta 5 Core and Builtins ----------------- +- 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``. + - Issue #3626: On cygwin, starting python with a non-existent script name would not display anything if the file name is only 1 character long. |