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.

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