diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-29 01:16:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 01:16:19 (GMT) |
commit | 22216107f2890e7ee2ab055e4983b76ff9c62169 (patch) | |
tree | d44cdb48491913be0974e9da990d722b5c0b3c45 /setup.py | |
parent | aa16ac74330f277559441fdd3d4c5c46bd39d0bb (diff) | |
download | cpython-22216107f2890e7ee2ab055e4983b76ff9c62169.zip cpython-22216107f2890e7ee2ab055e4983b76ff9c62169.tar.gz cpython-22216107f2890e7ee2ab055e4983b76ff9c62169.tar.bz2 |
closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)
This consolidates the handling of my_fgets return values, so that interrupts are always handled, even if they come after EOF.
I believe PyOS_StdioReadline is still buggy in that I/O errors will not result in a proper Python exception being set. However, that is a separate issue.
(cherry picked from commit a74eea238f5baba15797e2e8b570d153bc8690a7)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions