Skip to content

Conversation

@eendebakpt
Copy link
Contributor

@eendebakpt eendebakpt commented Apr 17, 2025

@rhettinger
Copy link
Contributor

To my eyes, the new code looks identical to the existing set___contains___impl.

@eendebakpt
Copy link
Contributor Author

Almost identical, except that the set___contains___impl has an extra line @critical_section. This results in a Py_BEGIN_CRITICAL_SECTION in the clinic generated code.

@kumaraditya303 kumaraditya303 merged commit e77d678 into python:main Apr 18, 2025
47 checks passed
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