- 05 Apr, 2008 5 commits
-
-
Martin v. Löwis authored
-
Neal Norwitz authored
The problem is that when trying to do the second insert, sqlite seems to sleep for a very long time. Here is the output from strace: read(6, "SQLite format 3\0\4\0\1\1\0@ \0\0\0\1\0\0\0\0"..., 1024) = 1024 nanosleep({4294, 966296000}, <unfinished ...> I don't know which version this was fixed in, but 3.2.1 definitely fails.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 04 Apr, 2008 13 commits
-
-
Trent Nelson authored
Revert r62152 (Issue #2550). Being able to observe the results of all the buildbots was certainly useful. All of the platforms that have some form of BSD lineage -- FreeBSD, OS X, Solaris and Tru64 -- all pass the test. Windows and Linux, on the other hand, don't. Windows I knew about, Linux was a surprise. Knowing this, I believe a more appropriate fix will revolve around test_support.bind_socket() -- this method needs to return a port that nothing in the system has bound already. The best way to do this may just be to rely on ephemeral ports, rather than having the user specify a desired port, then fall back to four random ports, then try 0.
-
Thomas Heller authored
-
Thomas Heller authored
Removed libffi.pc.in because it is not needed for ctypes.
-
Trent Nelson authored
Issue 2550: extend test_socket.py to test SO_REUSEADDR semantics when bind() is called on identical (host, port) combinations in two separate sockets. This should raise an EADDRINUSE socket.error in all cases, irrespective of whether or not SO_REUSEADDR is set on the sockets. However, with Windows, when SO_REUSEADDR is set on the sockets, no error is thrown (an error is thrown when the option isn't set), which results in an extremely wedged python process whenever accept() is called on either of the bound sockets. I'm committing this test now to observe if it's only Windows that has this behaviour (via the buildbots). Note: this WILL break all Windows buildbots for now; once I've observed the results on other platforms, I'll revert, then start looking into a patch.
-
Jeffrey Yasskin authored
-
Thomas Heller authored
-
Fred Drake authored
-
Fred Drake authored
directory to the directory in which the setup.py script lived (which made __file__ wrong) fixed, with test that the script is run in the current directory of the caller
-
Thomas Heller authored
is used as compiler.
-
Thomas Heller authored
-
Fred Drake authored
controlled environment will more closely mirror the typical script environment. This supports setup.py scripts that refer to data files.
-
Jeffrey Yasskin authored
And fix some flakiness in test_itimer_prof, which could detect that the timer had reached 0 before the signal arrived announcing that fact.
-
Barry Warsaw authored
-
- 03 Apr, 2008 8 commits
-
-
Amaury Forgeot d'Arc authored
calls threading.currentThread. The correction somewhat improves the code, but it was close. Many thanks to the "with" construct, which turns python code into C calls. I wonder if it is not better to sys.settrace(None) just after running the __main__ module and before finalization.
-
Trent Nelson authored
Make kill_python a little more forgiving if it can't obtain a snapshot of module information for a given python[_d].exe process. Failing here was too pessimistic; the python[_d].exe process may be owned by another user, which is the case in some buildbot environments.
-
Trent Nelson authored
-
Trent Nelson authored
Reimplement kill_python. The existing version had a number of flaws, namely, it didn't work for x64 and it wasn't precise about which python_d.exe it was killing -- it just killed the first one it came across that happened to have 'pcbuild\python_d.exe' or 'build\python_d.exe' in it's path. The new version has been rewritten from the ground up and now lives in PCbuild, instead of Tools\buildbot, and it has also been incorporated into the Visual Studio solution (pcbuild.sln) as 'kill_python'. The solution has also been altered such that kill_python is called where necessary in the build process in order to prevent any linking errors due to open file locks. In lieu of this, all of the existing bits and pieces in Tools\buildbot that called out to kill_python at various points have also been removed as they are now obsolete. Tested on both Win32 and x64. Change set (included to improve usefulness of svnmerge log entry): M PCbuild\pythoncore.vcproj M PCbuild\pcbuild.sln M PCbuild\release.vsprops A PCbuild\kill_python.vcproj M PCbuild\debug.vsprops A PCbuild\kill_python.c D Tools\buildbot\kill_python.bat D Tools\buildbot\kill_python.mak M Tools\buildbot\build.bat D Tools\buildbot\Makefile M Tools\buildbot\build-amd64.bat M Tools\buildbot\buildmsi.bat D Tools\buildbot\kill_python.c
-
Trent Nelson authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 02 Apr, 2008 10 commits
-
-
Benjamin Peterson authored
-
Amaury Forgeot d'Arc authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
Fix: #2315, #2316, #2317: TimedRotatingFileHandler - changed logic to better handle daylight savings time, deletion of old log files, and fixed a bug in calculating rollover when no logging occurs for a longer interval than the rollover period.
-
Trent Nelson authored
Update information pertaining to building external components, as well as notes on x64 builds. This file now accurately describes the build process as is; however, there's still a lot of room for improvement, especially with regards to how we build Tcl/Tk, Tix, and OpenSSL. Watch this space for further improvements.
-
Neal Norwitz authored
on various platforms, most recently the Alpha Tru64.
-
Jeffrey Yasskin authored
test_itimer_prof.
-
Amaury Forgeot d'Arc authored
Rebuild the DocTestSuite on each iteration.
-
Amaury Forgeot d'Arc authored
When cls is an ABCMeta, every call to isinstance(x, cls) records type(x) in the cls._abc_cache of cls_abc_negative_cache. So we clear these caches at the end of the test. inspect.isabstract() is not the correct test for all ABCs, because there is no @abstractmethod in io.py (why?) isinstance(cls, ABCMeta) would be more exact, but it fails with an infinite recursion. So I used a hack to determine whether a class is an ABCMeta. The true correction would be to turn cls._abc_cache &co into a WeakSet, as py3k does. But classic classes are not weak referenceable... Of course, this change should not be merged into the py3k branch.
-
- 01 Apr, 2008 4 commits
-
-
Guido van Rossum authored
I have the email trail to prove that George Neville-Neil approved this.
-
Amaury Forgeot d'Arc authored
it registers the same codec on each iteration. Do it only once at load time.
-
Amaury Forgeot d'Arc authored
with python 2.6, enumerating bytes yields 1-char strings, not numbers. Don't merge this into the py3k branch.
-
Brett Cannon authored
of effort to do so.
-