gh-117657: Don't specialize RESUME_CHECK when specialization is disabled by Fidget-Spinner · Pull Request #118349 · python/cpython · GitHub
Skip to content

gh-117657: Don't specialize RESUME_CHECK when specialization is disabled - #118349

Merged
Fidget-Spinner merged 5 commits into
python:mainfrom
Fidget-Spinner:eval_threadsafety
Apr 30, 2024
Merged

gh-117657: Don't specialize RESUME_CHECK when specialization is disabled#118349
Fidget-Spinner merged 5 commits into
python:mainfrom
Fidget-Spinner:eval_threadsafety

Conversation

@Fidget-Spinner

@Fidget-Spinner Fidget-Spinner commented Apr 27, 2024

Copy link
Copy Markdown
Member

It was showing up as a race in tsan. Though other races still bubble up with vectorcall so we cant remove it from the ignore list for now.

@Fidget-Spinner
Fidget-Spinner marked this pull request as ready for review April 27, 2024 16:24
@Fidget-Spinner Fidget-Spinner changed the title Disable RESUME_CHECK specialization on free-threaded builds gh-117657: Disable RESUME_CHECK specialization on free-threaded builds Apr 27, 2024

@swtaarrs swtaarrs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code looks good to me, but it might make sense to change the title to something like "Don't specialize RESUME_CHECK when specialization is disabled", which is what this is really doing. It's a good fix independent of free-threading concerns.

@Fidget-Spinner Fidget-Spinner changed the title gh-117657: Disable RESUME_CHECK specialization on free-threaded builds gh-117657: Don't specialize RESUME_CHECK when specialization is disabled Apr 30, 2024
@Fidget-Spinner

Copy link
Copy Markdown
Member Author

@Fidget-Spinner
Fidget-Spinner enabled auto-merge (squash) April 30, 2024 21:25
@Fidget-Spinner
Fidget-Spinner merged commit 7fabcc7 into python:main Apr 30, 2024
@bedevere-bot

Copy link
Copy Markdown

SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
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.

3 participants