Staging
v0.5.0
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
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.7 KB
.travis.yml -rw-r--r-- 8.4 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.0 KB
README.rst -rw-r--r-- 9.7 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 492.9 KB
configure.ac -rw-r--r-- 163.3 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 44.3 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top