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

Make RESUME monitoring more readable and robust by P403n1x87 · Pull Request #142136 · python/cpython · GitHub

Repository navigation

Make RESUME monitoring more readable and robust - #142136

Merged
markshannon merged 3 commits into
python:mainfrom
P403n1x87:start-resume-events-coded-properly
Dec 16, 2025
Merged

markshannon merged 3 commits into
python:mainfrom
P403n1x87:start-resume-events-coded-properly

Conversation

Copy link
Copy Markdown
Contributor

We make the code for the monitoring of PY_START and PY_RESUME events triggered by the RESUME opcode more readable and maintainable by not relying on some obscure logic on the value of oparg that can easily break if the event IDs are ever changed in the future.

We make the code for the monitoring of PY_START and PY_RESUME events
triggered by the RESUME opcode more readable and maintainable by
not relying on some obscure logic on the value of oparg that can
easily break if the event IDs are ever changed in the future.

markshannon left a comment

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

Thanks. That's a lot more readable.

python-cla-bot Bot commented Dec 16, 2025 •
edited
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

Copy link
Copy Markdown
Member

@P403n1x87 you'll need to sign the CLA before I can merge this.
Or set your email address properly in the merge commit?

Copy link
Copy Markdown
Contributor Author

@P403n1x87 you'll need to sign the CLA before I can merge this.

Ah it looks like I signed the (now legacy) one in 2021. Signed the new CLA.

markshannon merged commit 16a305f into python:main Dec 16, 2025
68 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL