[Python-checkins] r68769 - in python/branches/py3k: Lib/test/test_os.py Misc/NEWS
benjamin.peterson
python-checkins at python.org
Mon Jan 19 16:15:02 CET 2009
Author: benjamin.peterson
Date: Mon Jan 19 16:15:02 2009
New Revision: 68769
Log:
reenable the invalid fd test for fdopen
Modified:
python/branches/py3k/Lib/test/test_os.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/test/test_os.py
==============================================================================
--- python/branches/py3k/Lib/test/test_os.py (original)
+++ python/branches/py3k/Lib/test/test_os.py Mon Jan 19 16:15:02 2009
@@ -588,7 +588,7 @@
self.assertRaises(WindowsError, os.utime, support.TESTFN, 0)
class TestInvalidFD(unittest.TestCase):
- singles = ["fchdir", "dup", "fdatasync", "fstat",
+ singles = ["fchdir", "dup", "fdopen", "fdatasync", "fstat",
"fstatvfs", "fsync", "tcgetpgrp", "ttyname"]
#singles.append("close")
#We omit close because it doesn'r raise an exception on some platforms
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Mon Jan 19 16:15:02 2009
@@ -12,6 +12,8 @@
Core and Builtins
-----------------
+- Issue #4991: os.fdopen now raises an OSError for invalid file descriptors.
+
- Issue #4838: When a module is deallocated, free the memory backing the
optional module state data.
More information about the Python-checkins
mailing list