| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\
| | |
| | |
| | | |
freed by the garbage collector while the Heap lock is held.
|
| | |
| | |
| | |
| | | |
the garbage collector while the Heap lock is held.
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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().
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
with known OS bugs
Share the list of platforms with known OS bugs with other tests. Patch written
by Charles-François Natali.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
it is interrupted by a signal, instead of having to wait until the next
instruction.
Patch reviewed by Antoine Pitrou.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
|
| | |
| | |
| | |
| | |
| | | |
py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
|
|\ \ \
| |/ /
| | |
| | | |
The testcase was never executed, it's now fixed.
|
| | |
| | |
| | |
| | | |
The testcase was never executed, it's now fixed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | | |
due to dummy test server not properly handling SSL shutdown(), see http://bugs.python.org/msg139499
|
| | |
| | |
| | |
| | | |
not needed.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
file is not needed.
Remove also an unused variable (blank) in test_threading.
|
| | |
| | |
| | |
| | |
| | |
| | | |
needed.
Remove also an unused variable (blank) in test_threading.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
files from UTF-8 instead of the locale encoding if the encoding is not
specified. It now also opens XML files for the parser in binary mode instead of
the text mode to avoid encoding issues.
|
| | |
| | |
| | |
| | |
| | |
| | | |
UTF-8 instead of the locale encoding if the encoding is not specified. It now
also opens XML files for the parser in binary mode instead of the text mode to
avoid encoding issues.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
file anymore to avoid encoding issues (it used the locale encoding, whereas
UTF-8 should be).
Remove also an unused import (warnings).
|
| | |
| | |
| | |
| | |
| | |
| | | |
avoid encoding issues (it used the locale encoding, whereas UTF-8 should be).
Remove also an unused import (warnings).
|
|\ \ \
| |/ /
| | |
| | | |
available, to read the Python script from the right encoding.
|
| | |
| | |
| | |
| | | |
read the Python script from the right encoding.
|
|\ \ \
| |/ /
| | |
| | | |
to read the encoding cookie, instead of opening it in UTF-8.
|
| | |
| | |
| | |
| | | |
encoding cookie, instead of opening it in UTF-8.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Copy sys.stderr before replacing it, instead of using sys.__stderr__
|
|/ / / |
|
| | | |
|
| | |
| | |
| | |
| | | |
instead of open(os.devnull, 'w')
|
| | |
| | |
| | |
| | |
| | | |
These are pointless because on error, all blocks will be finalized by
symtable_dealloc.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
.truncate()
.truncate(0) doesn't rewind.
|
| | |
| | |
| | |
| | | |
.truncate(0) doesn't rewind.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
sys.stdout anymore
regrtest doesn't check that a test doesn't output anything anymore.
|
| | |
| | |
| | |
| | |
| | |
| | | |
anymore
regrtest doesn't check that a test doesn't output anything anymore.
|
|\ \ \
| |/ /
| | |
| | | |
test
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
regrtest doesn't check that tests doesn't write something to stdout anymore.
Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W.
|