]> granicus.if.org Git - python/commit
Issue #23680: Reduce risk of race condition in check_interrupted_write_retry()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 16 Mar 2015 16:57:49 +0000 (17:57 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 16 Mar 2015 16:57:49 +0000 (17:57 +0100)
commit6d3c09f284974c2c97918d0bb63af25d0fba27aa
tree800357504ffb7afd002c737637da47f0cc9c6ee6
parent59b356d659b29d962feb86e61d4890a6cee9e172
Issue #23680: Reduce risk of race condition in check_interrupted_write_retry()
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