Staging
v0.5.1
https://github.com/python/cpython
Revision 7cfede6859586f77f786bda56af4698ae2245f56 authored by Miss Islington (bot) on 29 July 2020, 01:16:19 UTC, committed by GitHub on 29 July 2020, 01:16:19 UTC

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>
1 parent 5e0ce46
History
Tip revision: 7cfede6859586f77f786bda56af4698ae2245f56 authored by Miss Islington (bot) on 29 July 2020, 01:16:19 UTC
closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)
Tip revision: 7cfede6
File Mode Size
appendix.rst -rw-r--r-- 4.5 KB
appetite.rst -rw-r--r-- 4.4 KB
classes.rst -rw-r--r-- 36.2 KB
controlflow.rst -rw-r--r-- 32.2 KB
datastructures.rst -rw-r--r-- 24.0 KB
errors.rst -rw-r--r-- 15.6 KB
floatingpoint.rst -rw-r--r-- 10.9 KB
index.rst -rw-r--r-- 2.3 KB
inputoutput.rst -rw-r--r-- 18.6 KB
interactive.rst -rw-r--r-- 2.4 KB
interpreter.rst -rw-r--r-- 6.4 KB
introduction.rst -rw-r--r-- 17.5 KB
modules.rst -rw-r--r-- 23.4 KB
stdlib.rst -rw-r--r-- 11.0 KB
stdlib2.rst -rw-r--r-- 14.8 KB
venv.rst -rw-r--r-- 7.5 KB
whatnow.rst -rw-r--r-- 3.3 KB

back to top