]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
authorAntoine Pitrou <solipsis@pitrou.net>
Thu, 1 Sep 2011 19:38:37 +0000 (21:38 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Thu, 1 Sep 2011 19:38:37 +0000 (21:38 +0200)
mapped to POSIX errno ENOTDIR (previously EINVAL).

1  2 
Lib/test/test_exceptions.py
Misc/NEWS

index 718d05c886f66fae945cf498f2963a0abf49b449,0a7ddd4c5b1b27b186bbb7b41d441ba3054708a9..9be6958820cd4c4ec613dd12789464534c71faf6
@@@ -5,9 -5,10 +5,10 @@@ import sy
  import unittest
  import pickle
  import weakref
+ import errno
  
  from test.support import (TESTFN, unlink, run_unittest, captured_output,
 -                          gc_collect, cpython_only)
 +                          gc_collect, cpython_only, no_tracing)
  
  # XXX This is not really enough, each *operation* should be tested!
  
diff --cc Misc/NEWS
index f1ee83639dae3b27ce90b60ef272b9b5d3db989d,b17c58f4d0330b12737c602247209253ef355233..57a1237104c99053c212b94575f1f545c8046cb0
+++ b/Misc/NEWS
@@@ -10,6 -10,12 +10,9 @@@ What's New in Python 3.3 Alpha 1
  Core and Builtins
  -----------------
  
 -- Accept bytes for the AST string type. This is temporary until a proper fix in
 -  3.3.
 -
+ - Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
+   mapped to POSIX errno ENOTDIR (previously EINVAL).
  - Issue #9200: The str.is* methods now work with strings that contain non-BMP
    characters even in narrow Unicode builds.