Skip to content

Conversation

@P403n1x87
Copy link
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.
Copy link
Member

@markshannon markshannon left a comment

Choose a reason for hiding this comment

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

Thanks. That's a lot more readable.

@python-cla-bot
Copy link

python-cla-bot bot commented Dec 16, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@markshannon
Copy link
Member

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

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