- 14 Aug, 2002 12 commits
-
-
Jason Tishler authored
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'
-
Barry Warsaw authored
high-bit-set hex constants.
-
Guido van Rossum authored
allow that many open files per process. I don't see that 1000 makes any difference for the test.
-
Jason Tishler authored
This patch enables setup.py to find gettext routines when they are located in libintl instead of libc. Although I developed this patch for Cygwin, I hope that it can be easily updated to support other platforms (if necessary). I tested this patch under Cygwin and Red Hat Linux 7.1.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Skip Montanaro authored
see bug 411881
-
Neal Norwitz authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Tim Peters authored
do bizarre things to get a temp file, I changed it to use mkstemp instead of NamedTemporaryFile. This tried to leave the file open while passing its name to execfile(). On Win2K (but not Win9X), though, a file created with O_TEMPORARY cannot be opened again, so the test failed with a permission error when execfile tried to open it. Closer to the truth: a file created with O_TEMPORARY can be opened again, but only if the file is also created with SHARE_DELETE access via the Win32 CreateFile() function. There's no way to get at that from MS's version of libc, though (we'd have to ditch the "std" C file functions in favor of Win32 API calls).
-
Tim Peters authored
was reversed).
-
- 13 Aug, 2002 23 commits
-
-
Tim Peters authored
Boolean, so changed its default value from 1 to True.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
runtime.
-
Jeremy Hylton authored
-
Tim Peters authored
-
Tim Peters authored
space is no longer needed, so removed the code. It was only possible when a degenerate (ah->ob_size == 0) split happened, but after that fix went in I added k_lopsided_mul(), which saves the body of k_mul() from seeing a degenerate split. So this removes code, and adds a honking long comment block explaining why spilling out of bounds isn't possible anymore. Note: ff we end up spilling out of bounds anyway <wink>, an assert in v_iadd() is certain to trigger.
-
Barry Warsaw authored
1.1.4. Redhat hasn't upgraded but does provide a patched 1.1.3 package, so checking for 1.1.4 just makes life difficult.
-
Neal Norwitz authored
-
Guido van Rossum authored
Add some more rigor to slotmultipleinheritance().
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
Fix already checked in by Guido
-
Fred Drake authored
-
Jason Tishler authored
Close the bug report again -- this time for Cygwin due to a newlib bug. See the following for the details: http://sources.redhat.com/ml/newlib/2002/msg00369.html Note that this commit is only a documentation (i.e., comment) change.
-
Guido van Rossum authored
(rev. 2.86). The other type is only disqualified from sq_repeat when it has the CHECKTYPES flag. This means that for extension types that only support "old-style" numeric ops, such as Zope 2's ExtensionClass, sq_repeat still trumps nb_multiply.
-
Tim Peters authored
"lopsided Karatsuba" driver also gets some exercise.
-
Tim Peters authored
test was written. So boosted the number of "digits" this generates, and also beefed up the "* / divmod" test to tickle numbers big enough to trigger the Karatsuba algorithm. It takes about 2 seconds now on my box.
-
Guido van Rossum authored
is an *unsigned* long.
-
- 12 Aug, 2002 5 commits
-
-
Guido van Rossum authored
-
Tim Peters authored
-
Fred Drake authored
updated when checkins are made, but I can get that updated when needed.
-
Tim Peters authored
k_mul() when inputs have vastly different sizes, and a little more efficient when they're close to a factor of 2 out of whack. I consider this done now, although I'll set up some more correctness tests to run overnight.
-
Guido van Rossum authored
-