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
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.