Staging
v0.5.1
https://github.com/python/cpython
Revision 8d64248c6951aa052e45f39cc7d982f6bbcf5a2c authored by Victor Stinner on 01 July 2011, 13:24:50 UTC, committed by Victor Stinner on 01 July 2011, 13:24:50 UTC
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().
1 parent 26d3186
History
Tip revision: 8d64248c6951aa052e45f39cc7d982f6bbcf5a2c authored by Victor Stinner on 01 July 2011, 13:24:50 UTC
Issue #12363: improve siginterrupt() tests
Tip revision: 8d64248
File Mode Size
c-api
data
distutils
documenting
extending
faq
howto
includes
install
library
reference
tools
tutorial
using
whatsnew
ACKS.txt -rw-r--r-- 4.5 KB
Makefile -rw-r--r-- 6.8 KB
README.txt -rw-r--r-- 5.1 KB
about.rst -rw-r--r-- 1.3 KB
bugs.rst -rw-r--r-- 3.2 KB
conf.py -rw-r--r-- 5.9 KB
contents.rst -rw-r--r-- 440 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 29.8 KB
license.rst -rw-r--r-- 46.8 KB
make.bat -rw-r--r-- 1.5 KB

README.txt

back to top