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: PyErr_WriteUnraisable() normalizes exception#13507

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 3 commits intopython:masterfromvstinner:unraisablehook_traceback
May 22, 2019
Merged

bpo-36829: PyErr_WriteUnraisable() normalizes exception#13507

vstinner merged 3 commits intopython:masterfromvstinner:unraisablehook_traceback
May 22, 2019

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedMay 22, 2019
edited by bedevere-bot
Loading

PyErr_WriteUnraisable() now creates a traceback object if there is no
current traceback. Moreover, call PyErr_NormalizeException() and
PyException_SetTraceback() to normalize the exception value.

https://bugs.python.org/issue36829

PyErr_WriteUnraisable() now creates a traceback object if there is nocurrent traceback. Moreover, call PyErr_NormalizeException() andPyException_SetTraceback() to normalize the exception value. Ignoreany error.
Replace runtime check with assertions. _PyTraceBack_FromFrame() isused by PyTraceBack_Here() which is performance critical (called fromceval.c).
@vstinnervstinner merged commitdf22c03 intopython:masterMay 22, 2019
@vstinnervstinner deleted the unraisablehook_traceback branchMay 22, 2019 23:01
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
None yet
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