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
_ctypes.vcproj -rw-r--r-- 13.8 KB
_ctypes_test.vcproj -rw-r--r-- 8.8 KB
_elementtree.vcproj -rw-r--r-- 11.7 KB
_hashlib.vcproj -rw-r--r-- 10.1 KB
_msi.vcproj -rw-r--r-- 9.3 KB
_multiprocessing.vcproj -rw-r--r-- 9.9 KB
_socket.vcproj -rw-r--r-- 9.4 KB
_sqlite3.vcproj -rw-r--r-- 11.3 KB
_ssl.vcproj -rw-r--r-- 10.1 KB
_testcapi.vcproj -rw-r--r-- 8.9 KB
_tkinter.vcproj -rw-r--r-- 9.9 KB
bdist_wininst.vcproj -rw-r--r-- 6.1 KB
build.bat -rw-r--r-- 488 bytes
build_env.bat -rw-r--r-- 25 bytes
build_pgo.bat -rw-r--r-- 1.1 KB
build_ssl.bat -rw-r--r-- 253 bytes
build_ssl.py -rw-r--r-- 9.9 KB
build_tkinter.py -rw-r--r-- 2.3 KB
bz2.vcproj -rw-r--r-- 10.9 KB
debug.vsprops -rw-r--r-- 325 bytes
env.bat -rw-r--r-- 163 bytes
field3.py -rw-r--r-- 974 bytes
idle.bat -rw-r--r-- 284 bytes
installer.bmp -rw-r--r-- 57.4 KB
kill_python.c -rw-r--r-- 5.5 KB
kill_python.vcproj -rw-r--r-- 4.8 KB
make_buildinfo.c -rw-r--r-- 4.7 KB
make_buildinfo.vcproj -rw-r--r-- 1.9 KB
make_versioninfo.vcproj -rw-r--r-- 7.1 KB
pcbuild.sln -rw-r--r-- 43.4 KB
pginstrument.vsprops -rw-r--r-- 955 bytes
pgupdate.vsprops -rw-r--r-- 393 bytes
pyd.vsprops -rw-r--r-- 679 bytes
pyd_d.vsprops -rw-r--r-- 869 bytes
pyexpat.vcproj -rw-r--r-- 10.6 KB
pyproject.vsprops -rw-r--r-- 2.0 KB
python.vcproj -rw-r--r-- 12.3 KB
python3dll.vcproj -rw-r--r-- 7.2 KB
pythoncore.vcproj -rw-r--r-- 37.9 KB
pythonw.vcproj -rw-r--r-- 11.9 KB
readme.txt -rw-r--r-- 14.6 KB
release.vsprops -rw-r--r-- 326 bytes
rmpyc.py -rw-r--r-- 598 bytes
rt.bat -rw-r--r-- 1.8 KB
select.vcproj -rw-r--r-- 9.5 KB
sqlite3.vcproj -rw-r--r-- 9.5 KB
sqlite3.vsprops -rw-r--r-- 388 bytes
ssl.vcproj -rw-r--r-- 5.1 KB
unicodedata.vcproj -rw-r--r-- 9.1 KB
vs9to8.py -rw-r--r-- 1.3 KB
w9xpopen.vcproj -rw-r--r-- 10.6 KB
winsound.vcproj -rw-r--r-- 9.1 KB
x64.vsprops -rw-r--r-- 559 bytes
xxlimited.vcproj -rw-r--r-- 7.6 KB

readme.txt

back to top