summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-20 21:28:09 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-20 21:28:09 (GMT)
commitd628496323bf594679b3d5b3e10d85da8a1c8996 (patch)
tree0b8b093b87725762bcbd819a01505166694a3c30 /Python/ast.c
parent395dc58ee784087547115b684b2b39f40655ac47 (diff)
downloadcpython-d628496323bf594679b3d5b3e10d85da8a1c8996.zip
cpython-d628496323bf594679b3d5b3e10d85da8a1c8996.tar.gz
cpython-d628496323bf594679b3d5b3e10d85da8a1c8996.tar.bz2
Close #12363: fix a race condition in siginterrupt() tests
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
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions