FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-98831: rewrite RERAISE and CLEANUP_THROW in the instruction definition DSL by iritkatriel · Pull Request #101511 · python/cpython · GitHub

/ cpython Public

gh-98831: rewrite RERAISE and CLEANUP_THROW in the instruction definition DSL - #101511

Merged
iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:exceptions
Feb 2, 2023
Merged

gh-98831: rewrite RERAISE and CLEANUP_THROW in the instruction definition DSL#101511
iritkatriel merged 3 commits into
python:mainfrom
iritkatriel:exceptions

Conversation

iritkatriel commented Feb 1, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

iritkatriel added skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Feb 1, 2023
iritkatriel added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 1, 2023

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit df2e964 🤖

If you want to schedule another build, you need to add the :hammer: test-with-buildbots label again.

bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Feb 1, 2023
Comment thread Python/bytecodes.c
PyObject *tb = PyException_GetTraceback(val);
_PyErr_Restore(tstate, exc, val, tb);
assert(exc && PyExceptionInstance_Check(exc));
Py_INCREF(exc);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Subtle: this is needed because it stays on the stack when we goto exception_unwind, so the latter will POP and DECREF it.

iritkatriel merged commit 0675b8f into python:main Feb 2, 2023
iritkatriel deleted the exceptions branch April 3, 2023 17:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interpreter-core (Objects, Python, Grammar, and Parser dirs) skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL