]> granicus.if.org Git - python/commit
Issue #23680: Reduce risk of race condition in check_interrupted_write() of
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 16 Mar 2015 17:03:06 +0000 (18:03 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 16 Mar 2015 17:03:06 +0000 (18:03 +0100)
commit9c182a1e25409a241cf1f7e8d0141199dd4344c9
treeae20366942a90a48d12207de703d676187bcfec7
parent6d3c09f284974c2c97918d0bb63af25d0fba27aa
Issue #23680: Reduce risk of race condition in check_interrupted_write() of
test_io. Allocate the large data before scheduling an alarm in 1 second.

On very slow computer, the alarm rings sometimes during the memory allocation.
Lib/test/test_io.py