Staging
v0.8.1
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
File Mode Size
stringlib
abstract.c -rw-r--r-- 69.1 KB
boolobject.c -rw-r--r-- 6.5 KB
bytearrayobject.c -rw-r--r-- 86.1 KB
bytes_methods.c -rw-r--r-- 9.9 KB
bytesobject.c -rw-r--r-- 91.7 KB
capsule.c -rw-r--r-- 7.2 KB
cellobject.c -rw-r--r-- 4.8 KB
classobject.c -rw-r--r-- 18.2 KB
codeobject.c -rw-r--r-- 17.6 KB
complexobject.c -rw-r--r-- 31.5 KB
descrobject.c -rw-r--r-- 46.0 KB
dictnotes.txt -rw-r--r-- 11.9 KB
dictobject.c -rw-r--r-- 91.5 KB
enumobject.c -rw-r--r-- 11.4 KB
exceptions.c -rw-r--r-- 58.9 KB
fileobject.c -rw-r--r-- 15.1 KB
floatobject.c -rw-r--r-- 68.6 KB
frameobject.c -rw-r--r-- 31.0 KB
funcobject.c -rw-r--r-- 29.5 KB
genobject.c -rw-r--r-- 12.4 KB
iterobject.c -rw-r--r-- 7.5 KB
listobject.c -rw-r--r-- 83.0 KB
listsort.txt -rw-r--r-- 31.0 KB
lnotab_notes.txt -rw-r--r-- 5.3 KB
longobject.c -rw-r--r-- 147.0 KB
memoryobject.c -rw-r--r-- 24.0 KB
methodobject.c -rw-r--r-- 8.7 KB
moduleobject.c -rw-r--r-- 13.2 KB
object.c -rw-r--r-- 52.1 KB
obmalloc.c -rw-r--r-- 67.4 KB
rangeobject.c -rw-r--r-- 35.7 KB
setobject.c -rw-r--r-- 70.4 KB
sliceobject.c -rw-r--r-- 11.7 KB
structseq.c -rw-r--r-- 12.0 KB
tupleobject.c -rw-r--r-- 28.7 KB
typeobject.c -rw-r--r-- 192.4 KB
typeslots.inc -rw-r--r-- 3.6 KB
typeslots.py -rw-r--r-- 832 bytes
unicodectype.c -rw-r--r-- 5.4 KB
unicodeobject.c -rw-r--r-- 313.5 KB
unicodetype_db.h -rw-r--r-- 169.5 KB
weakrefobject.c -rw-r--r-- 29.5 KB

back to top