- 28 Apr, 2006 3 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
Printing to stdout, doesn't mean the data was actually written. It depends on the buffering, so we need to flush. This will hopefully really fix the buildbots getting killed due to no output on the slow bots.
-
Neal Norwitz authored
-
- 27 Apr, 2006 18 commits
-
-
Thomas Wouters authored
(since they won't trigger if zlib is already sucessfully imported); they were found by grepping .py files, instead of looking at warning output :)
-
Thomas Wouters authored
- Warn-raise ImportWarning when importing would have picked up a directory as package, if only it'd had an __init__.py. This swaps two tests (for case-ness and __init__-ness), but case-test is not really more expensive, and it's not in a speed-critical section. - Test for the new warning by importing a common non-package directory on sys.path: site-packages - In regrtest.py, silence warnings generated by the build-environment because Modules/ (which is added to sys.path for Setup-created modules) has 'zlib' and '_ctypes' directories without __init__.py's.
-
David Goodger authored
-
Thomas Wouters authored
than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily.
-
Thomas Wouters authored
using a prime number, rather than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily.
-
Thomas Heller authored
are newer then fficonfig.py.
-
Thomas Wouters authored
-
George Yoshida authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
This may be a useful style question for the docs -- should examples show the necessary imports, or should it be assumed that the reader will figure it out? In the What's New, I'm not consistent but usually opt for omitting the imports.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Anthony Baxter authored
-
Anthony Baxter authored
-
Anthony Baxter authored
-
Fred Drake authored
-
Fred Drake authored
- elaborate instructions for Cygwin support (closes SF #839709)
-
- 26 Apr, 2006 15 commits
-
-
Fred Drake authored
-
Hye-Shik Chang authored
don't have an access on MIPS machines. Will be tested by buildbot. :)
-
Thomas Wouters authored
list resize, which overallocates.
-
Thomas Wouters authored
list.extend tests (they were estimating half the actual use.)
-
Martin v. Löwis authored
-
Tim Peters authored
-
Thomas Wouters authored
tuples. Lots to be added, still, but this will give big-memory people something to play with in 2.5 alpha 2, and hopefully get more people to write these tests.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Nick Coghlan authored
-
Neal Norwitz authored
the one at the end.
-
Neal Norwitz authored
After the patch (45590) to add extra debug stats to the gc module, Python was crashing on OpenBSD due to: Fatal Python error: Interpreter not initialized (version mismatch?) This seems to occur due to calling collect() when initialized (in pythonrun.c) is set to 0. Now, the import will occur in the init function which shouldn't suffer this problem.
-
Fred Drake authored
-
Fred Drake authored
-
Tim Peters authored
uses of it in test_with.py. As a result, test_with has been skipped (due to failing imports) on all buildbot boxes since. Alas, that's not a test failure -- you have to pay attention to the 1 skip unexpected on PLATFORM: test_with kinds of output at the ends of test runs to notice that this got broken. It's likely that more renaming in test_with.py would be desirable.
-
- 25 Apr, 2006 4 commits
-
-
Guido van Rossum authored
this can just call __context__ on the underlying lock. (The same change for Semaphore does *not* work!)
-
Thomas Heller authored
Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702
-
Thomas Wouters authored
MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution.
-
Thomas Wouters authored
AF_PACKET cases in getsockaddrarg were missing their own checks for tuple-ness of the address argument, which means a confusing SystemError was raised by PyArg_ParseTuple instead.
-