Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

bpo-36829: sys.excepthook and sys.unraisablehook flush#13620

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:masterfromvstinner:unraisable_flush
May 28, 2019
Merged

bpo-36829: sys.excepthook and sys.unraisablehook flush#13620

vstinner merged 1 commit intopython:masterfromvstinner:unraisable_flush
May 28, 2019

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedMay 28, 2019
edited
Loading

sys.excepthook() and sys.unraisablehook() now explicitly flush the
file (usually sys.stderr).

If file.flush() fails, sys.excepthook() silently ignores the error,
whereas sys.unraisablehook() logs the new exception.

https://bugs.python.org/issue36829

@vstinnervstinner changed the titlebpo-36829: sys.unraisablehook() explicits flush stderrbpo-36829: sys.excepthook and sys.unraisablehook flushMay 28, 2019
sys.excepthook() and sys.unraisablehook() now explicitly flush thefile (usually sys.stderr).If file.flush() fails, sys.excepthook() silently ignores the error,whereas sys.unraisablehook() logs the new exception.
@vstinnervstinner merged commita85a1d3 intopython:masterMay 28, 2019
@vstinnervstinner deleted the unraisable_flush branchMay 28, 2019 14:01
DinoV pushed a commit to DinoV/cpython that referenced this pull requestJan 14, 2020
sys.excepthook() and sys.unraisablehook() now explicitly flush thefile (usually sys.stderr).If file.flush() fails, sys.excepthook() silently ignores the error,whereas sys.unraisablehook() logs the new exception.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp