diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-03-24 20:35:20 +0000 |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-03-24 20:35:20 +0000 |
commit | c24ca4b192559526797d0410bf3cee2fecaaddf5 (patch) | |
tree | 188282d0d074c20c7bd2da67e33025cdcae82dca /Python/codecs.c | |
parent | 70b5d47f71dc233d13ae40e214be24472b8c58af (diff) | |
download | cpython-git-c24ca4b192559526797d0410bf3cee2fecaaddf5.tar.gz |
Fix probable bug; if errno == EINTR, floatsleep() doesn't break out of
a Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS block, but it
calls Py_BLOCK_THREADS anyway. The change moves Py_BLOCK_THREADS
to inside the if, so it's only executed when the function
actually returns unexpectedly.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions