Skip to content
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

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

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

markshannon commented Feb 18, 2022

What's the race?

Python/ceval.c Outdated Show resolved Hide resolved
Python/ceval.c Outdated Show resolved Hide resolved
Python/ceval.c Outdated Show resolved Hide resolved
Python/ceval.c Outdated Show resolved Hide resolved
@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

sobolevn commented Feb 18, 2022

Thank you! Removed extra ones. 👍

What's the race?

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

@markshannon
Copy link
Member

markshannon commented Feb 18, 2022

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.

None yet

4 participants