Staging
v0.8.1
https://github.com/python/cpython
Revision aa1e1a2755ea822ac32dc807423ada58d761686d authored by Ned Deily on 12 February 2013, 06:10:59 UTC, committed by Ned Deily on 12 February 2013, 06:10:59 UTC
An odd bug in OS X 10.4 causes open(2) on a non-existent,
invalid-encoded filename to return errno 22, EINVAL: Invalid argument,
instead of the expected errno 2, ENOENT: No such file or directory,
*if* the containing directory is not empty.  That caused frequent
failures when running the buildbot tests on 10.4 depending on the state
of the test working directory.  The failure is easy to reproduce on
10.4 by running the test directly (not with regrtest), first in an empty
directory, then after adding a file to it.  The fix is to check for and
pass if either errno is returned.
1 parent c114cc8
History
Tip revision: aa1e1a2755ea822ac32dc807423ada58d761686d authored by Ned Deily on 12 February 2013, 06:10:59 UTC
Issue #17111: Prevent test_surrogates (test_fileio) failure on OS X 10.4.
Tip revision: aa1e1a2
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 539 bytes
.gitignore -rw-r--r-- 583 bytes
.hgeol -rw-r--r-- 650 bytes
.hgignore -rw-r--r-- 862 bytes
.hgtags -rw-r--r-- 7.5 KB
LICENSE -rw-r--r-- 13.9 KB
Makefile.pre.in -rw-r--r-- 42.2 KB
README -rw-r--r-- 52.5 KB
config.guess -rw-r--r-- 43.8 KB
config.sub -rw-r--r-- 34.7 KB
configure -rwxr-xr-x 414.8 KB
configure.ac -rw-r--r-- 129.4 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.8 KB
setup.py -rw-r--r-- 92.7 KB

README

back to top