summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-11-05 19:30:32 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-11-05 19:30:32 (GMT)
commitecc42a2b82858763818484572dccc7e88a3bdda1 (patch)
treea8bad97b03850ab5ccbe33e14332e4840b409816 /Misc
parentb37509b11b34fb4b2045162b88d4fa110cd4692b (diff)
downloadcpython-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7de0685..f17e758 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.