- 03 Jul, 2011 9 commits
-
-
Senthil Kumaran authored
-
Georg Brandl authored
-
Senthil Kumaran authored
-
Antoine Pitrou authored
qsize() raises NotImplementedError on OS X, don't use it.
-
Vinay Sajip authored
-
Georg Brandl authored
-
Georg Brandl authored
-
R David Murray authored
-
R David Murray authored
Original patch by Nicolas Estibals. My tweaks to the patch were mostly style/cosmetic, and adding more tests.
-
- 02 Jul, 2011 12 commits
-
-
Antoine Pitrou authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Éric Araujo authored
-
Benjamin Peterson authored
-
Charles-François Natali authored
freed by the garbage collector while the Heap lock is held.
-
Charles-François Natali authored
freed by the garbage collector while the Heap lock is held.
-
Charles-François Natali authored
the garbage collector while the Heap lock is held.
-
- 01 Jul, 2011 18 commits
-
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
-
R David Murray authored
-
Victor Stinner authored
Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM).
-
Victor Stinner authored
Move also the "ready" trigger after the installation of the signal handler and the call to siginterrupt(). Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough, but some of our buildbots are really slow (especially the FreeBSD 6 VM).
-
Victor Stinner authored
-
Victor Stinner authored
Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2 branch. Extract of the changelog messages: "The previous tests used time.sleep() to synchronize two processes. If the host was too slow, the test could fail. The new tests only use one process, but they use a subprocess to: - have only one thread - have a timeout on the blocking read (select cannot be used in the test, select always fail with EINTR, the kernel doesn't restart it) - not touch signal handling of the parent process" and "Add a basic synchronization code between the child and the parent processes: the child writes "ready" to stdout." I replaced .communicate(timeout=3.0) by an explicit waiting loop using Popen.poll().
-
Victor Stinner authored
on platforms with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali.
-
Victor Stinner authored
with known OS bugs Share the list of platforms with known OS bugs with other tests. Patch written by Charles-François Natali.
-
Victor Stinner authored
it is interrupted by a signal, instead of having to wait until the next instruction. Patch reviewed by Antoine Pitrou.
-
Giampaolo Rodola' authored
-
Victor Stinner authored
TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows).
-
Victor Stinner authored
TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions removed from Python 3. Move fdopen() tests to the FileTests testcase to test fdopen() on a file descriptor, not on a directory descriptor (which raises an error on Windows).
-
Victor Stinner authored
py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
-
Victor Stinner authored
py-list displays the error. py-bt ignores the error (the filename and line number is already displayed).
-
Victor Stinner authored
The testcase was never executed, it's now fixed.
-
Victor Stinner authored
The testcase was never executed, it's now fixed.
-
- 30 Jun, 2011 1 commit
-
-
Victor Stinner authored
We don't need to create a temporary buffered binary or text file object just to create an empty file. Replace also os.fdopen(handle).close() by os.close(handle).
-