From: Antoine Pitrou Date: Thu, 1 Sep 2011 19:38:37 +0000 (+0200) Subject: Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now X-Git-Tag: v3.3.0a1~1587 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5edbaf295e60e0152c3f240ebef6408fa74572c3;p=thirdparty%2FPython%2Fcpython.git Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now mapped to POSIX errno ENOTDIR (previously EINVAL). --- 5edbaf295e60e0152c3f240ebef6408fa74572c3 diff --cc Lib/test/test_exceptions.py index 718d05c886f6,0a7ddd4c5b1b..9be6958820cd --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@@ -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 f1ee83639dae,b17c58f4d033..57a1237104c9 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,6 -10,12 +10,9 @@@ What's New in Python 3.3 Alpha 1 Core and Builtins ----------------- + - Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now + mapped to POSIX errno ENOTDIR (previously EINVAL). + -- Accept bytes for the AST string type. This is temporary until a proper fix in - 3.3. - - Issue #9200: The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds.