Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
markshannon merged 3 commits intopython:mainpython/cpython:mainfrom
sobolevn:issue-46709sobolevn/cpython:issue-46709Copy head branch name to clipboard
Feb 18, 2022
Merged

bpo-46709: check eval breaker in specialized CALL opcodes#31404
markshannon merged 3 commits intopython:mainpython/cpython:mainfrom
sobolevn:issue-46709sobolevn/cpython:issue-46709Copy head branch name to clipboard

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?

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.