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

gh-112213: Add @critical_section target directive to Argument Clinic #112232

Merged
merged 8 commits into from
Nov 18, 2023

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Nov 18, 2023

@corona10
Copy link
Member Author

corona10 commented Nov 18, 2023

@colesbury Do we have to support Py_BEGIN_CRITICAL_SECTION2 case too? [done]
(I am working on it)

@corona10 corona10 changed the title gh-112213: Add @critical_section target directive to Argument Clinic [WIP]gh-112213: Add @critical_section target directive to Argument Clinic Nov 18, 2023
@corona10 corona10 changed the title [WIP]gh-112213: Add @critical_section target directive to Argument Clinic gh-112213: Add @critical_section target directive to Argument Clinic Nov 18, 2023
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Some small suggestions:

Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
Tools/clinic/clinic.py Outdated Show resolved Hide resolved
@corona10 corona10 requested a review from AlexWaygood November 18, 2023 13:25
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

The Python code LGTM! I'll leave it to the other two to review the generated C code :D

Copy link
Contributor

@colesbury colesbury left a comment

Choose a reason for hiding this comment

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

Great!

@corona10 corona10 merged commit e52cc80 into python:main Nov 18, 2023
31 checks passed
@corona10 corona10 deleted the gh-112213 branch November 19, 2023 03:36
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 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