diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-16 18:03:06 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-16 18:03:06 +0100 |
commit | 2aa107ce05f03db73620ed5e56a372948f856c44 (patch) | |
tree | f6650110ff638953fcb32c91da4e3c5466b13406 /Python/errors.c | |
parent | e00339f01d1dd956f30de3a21295c8a8dc16177e (diff) | |
download | cpython-2aa107ce05f03db73620ed5e56a372948f856c44.tar.gz |
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.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions