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-95909: Make _PyArg_Parser initialization thread safe #95958

Merged
merged 6 commits into from Aug 16, 2022

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Aug 13, 2022

Automerge-Triggered-By: GH:ericsnowcurrently

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Yeah, this works and is definitely simpler than my PR. I only have one point to discuss (regarding the atomic get/set).

Python/getargs.c Outdated Show resolved Hide resolved
Python/getargs.c Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

bedevere-bot commented Aug 15, 2022

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@kumaraditya303 kumaraditya303 marked this pull request as ready for review Aug 16, 2022
Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Mostly LGTM. I have just a few minor comments.

Include/cpython/modsupport.h Outdated Show resolved Hide resolved
Python/getargs.c Outdated Show resolved Hide resolved
Python/getargs.c Outdated Show resolved Hide resolved
@kumaraditya303
Copy link
Contributor Author

kumaraditya303 commented Aug 16, 2022

Mostly LGTM. I have just a few minor comments.

I had the changes but GitHub was crashing so hadn't pushed them, I have fixed them now.

@ericsnowcurrently ericsnowcurrently added the 🤖 automerge PR will be merged once it's been approved and all CI passed label Aug 16, 2022
@miss-islington miss-islington merged commit 9b30b96 into python:main Aug 16, 2022
12 checks passed
@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented Aug 16, 2022

Thanks @kumaraditya303!

@kumaraditya303 kumaraditya303 deleted the thread-safe-init-parser branch Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 automerge PR will be merged once it's been approved and all CI passed skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants