summaryrefslogtreecommitdiff
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorJason Tishler <jason@tishler.net>2002-08-14 15:10:09 +0000
committerJason Tishler <jason@tishler.net>2002-08-14 15:10:09 +0000
commite63e44bb9a8b443ad42fbf1f5c61458a6534d4ad (patch)
tree8898c46873c58c825ba29720a5481da445e71684 /Python/exceptions.c
parent06c68bfa1d324ee977a220d33ee1050b42da38dc (diff)
downloadcpython-e63e44bb9a8b443ad42fbf1f5c61458a6534d4ad.tar.gz
Patch #595014: Cygwin tempfile patch
Although Cygwin attempts to be as Posix compliant as possible, it has difficulties unlinking open files. This is not surprising given that Cygwin is dependent on Win32 which in turn has this problem itself. The attached tempfile patch acknowledges this Cygwin limitation. Without this patch, Cygwin fails test_tempfile (i.e., test_has_no_name) as follows: $ ./python -E -tt ../Lib/test/regrtest.py -l test_tempfile test_tempfile test test_tempfile failed -- Traceback (most recent call last): File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 689, in test_has_no_name self.failOnException("rmdir", ei) File "/home/jt/src/PythonCvs/Lib/test/test_tempfile.py", line 33, in failOnException self.fail("%s raised %s: %s" % (what, ei[0], ei[1])) File "/home/jt/src/PythonCvs/Lib/unittest.py", line 260, in fail raise self.failureException, msg AssertionError: rmdir raised exceptions.OSError: [Errno 90] Directory not empty: '/mnt/c/DOCUME~1/jatis/LOCALS~1/Temp/tmpM_z8nj'
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions