Skip to content

bpo-46709: check eval breaker in specialized CALL opcodes #31404

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 18, 2022

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Feb 18, 2022

Changes:

  1. I've added CHECK_EVAL_BREAKER() to all specialized opcodes. This needs to be double checked
  2. I've added withRepeats() helper test method to run the test case several times. They were failing before CHECK_EVAL_BREAKER() additions, but now they pass!

Replaces:

Bugs:

https://bugs.python.org/issue46709

https://bugs.python.org/issue46465

@markshannon
Copy link
Member

What's the race?

@sobolevn sobolevn changed the title bpo-46709: fix race conditions in unittest/test_brake bpo-46709: check eval breaker in specialized CALL opcodes Feb 18, 2022
@sobolevn
Copy link
Member Author

Thank you! Removed extra ones. 👍

What's the race?

Sorry, this was from the #31273, new wording should be better.

@markshannon
Copy link
Member

Thanks for picking this up.

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.

4 participants