Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.8] closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)#21671

Merged
miss-islington merged 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-a74eea2-3.8miss-islington/cpython:backport-a74eea2-3.8Copy head branch name to clipboard
Jul 29, 2020
Merged

[3.8] closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569)#21671
miss-islington merged 1 commit into
python:3.8python/cpython:3.8from
miss-islington:backport-a74eea2-3.8miss-islington/cpython:backport-a74eea2-3.8Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 29, 2020

Copy link
Copy Markdown
Contributor

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 a74eea2)

Co-authored-by: Benjamin Peterson benjamin@python.org

https://bugs.python.org/issue38156

…thonGH-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 a74eea2)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@benjaminp: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 7cfede6 into python:3.8 Jul 29, 2020
@miss-islington miss-islington deleted the backport-a74eea2-3.8 branch July 29, 2020 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.