Staging
v0.8.1
v0.8.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
Tip revision: 8d64248c6951aa052e45f39cc7d982f6bbcf5a2c authored by Victor Stinner on 01 July 2011, 13:24:50 UTC
Issue #12363: improve siginterrupt() tests
Issue #12363: improve siginterrupt() tests
Tip revision: 8d64248
File | Mode | Size |
---|---|---|
Python.asdl | -rw-r--r-- | 4.2 KB |
acceler.c | -rw-r--r-- | 3.3 KB |
asdl.py | -rw-r--r-- | 11.5 KB |
asdl_c.py | -rwxr-xr-x | 39.5 KB |
bitset.c | -rw-r--r-- | 1.0 KB |
firstsets.c | -rw-r--r-- | 2.8 KB |
grammar.c | -rw-r--r-- | 6.7 KB |
grammar1.c | -rw-r--r-- | 1.2 KB |
intrcheck.c | -rw-r--r-- | 2.5 KB |
listnode.c | -rw-r--r-- | 1.2 KB |
metagrammar.c | -rw-r--r-- | 2.4 KB |
myreadline.c | -rw-r--r-- | 5.8 KB |
node.c | -rw-r--r-- | 3.9 KB |
parser.c | -rw-r--r-- | 11.7 KB |
parser.h | -rw-r--r-- | 1.0 KB |
parsetok.c | -rw-r--r-- | 8.0 KB |
pgen.c | -rw-r--r-- | 17.4 KB |
pgenmain.c | -rw-r--r-- | 3.7 KB |
printgrammar.c | -rw-r--r-- | 2.9 KB |
spark.py | -rw-r--r-- | 26.5 KB |
tokenizer.c | -rw-r--r-- | 47.4 KB |
tokenizer.h | -rw-r--r-- | 3.2 KB |
tokenizer_pgen.c | -rw-r--r-- | 36 bytes |
Computing file changes ...