- 27 Nis, 2006 17 kayıt (commit)
-
-
Thomas Wouters yazdı
- 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 yazdı
-
Thomas Wouters yazdı
than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily.
-
Thomas Wouters yazdı
using a prime number, rather than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily.
-
Thomas Heller yazdı
are newer then fficonfig.py.
-
Thomas Wouters yazdı
-
George Yoshida yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
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 yazdı
-
Andrew M. Kuchling yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Anthony Baxter yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
- elaborate instructions for Cygwin support (closes SF #839709)
-
- 26 Nis, 2006 15 kayıt (commit)
-
-
Fred Drake yazdı
-
Hye-Shik Chang yazdı
don't have an access on MIPS machines. Will be tested by buildbot. :)
-
Thomas Wouters yazdı
list resize, which overallocates.
-
Thomas Wouters yazdı
list.extend tests (they were estimating half the actual use.)
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
-
Thomas Wouters yazdı
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 yazdı
-
Andrew M. Kuchling yazdı
-
Nick Coghlan yazdı
-
Neal Norwitz yazdı
the one at the end.
-
Neal Norwitz yazdı
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 yazdı
-
Fred Drake yazdı
-
Tim Peters yazdı
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 Nis, 2006 8 kayıt (commit)
-
-
Guido van Rossum yazdı
this can just call __context__ on the underlying lock. (The same change for Semaphore does *not* work!)
-
Thomas Heller yazdı
Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702
-
Thomas Wouters yazdı
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 yazdı
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.
-
George Yoshida yazdı
-
Thomas Wouters yazdı
The new char-array used in ioctl calls wasn't explicitly NUL-terminated; quite probably the cause for the test_pty failures on Solaris that we circumvented earlier. (I wasn't able to reproduce it with this patch, but it has been somewhat elusive to start with.)
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-