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

bpo-31903: Release the GIL when calling into SystemConfiguration #4178

Merged
merged 3 commits into from
Sep 11, 2018

Conversation

maxbelanger
Copy link
Contributor

@maxbelanger maxbelanger commented Oct 30, 2017

Per details in issue tracker, make sure we release the GIL when calling SCDynamicStoreCopyProxies to avoid potential deadlocking if other Python threads also call into NSUserDefaults.

https://bugs.python.org/issue31903

Make sure we release the GIL when calling `SCDynamicStoreCopyProxies` to avoid potential deadlocking if other Python  threads also call into `NSUserDefaults`.
Copy link
Contributor

@ronaldoussoren ronaldoussoren left a comment

Choose a reason for hiding this comment

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

Patch looks good.

@maxbelanger
Copy link
Contributor Author

@ronaldoussoren any updates on whether this can be merged?

@miss-islington
Copy link
Contributor

Thanks @maxbelanger for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington
Copy link
Contributor

Thanks @maxbelanger for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @maxbelanger for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 12, 2018
…on (pythonGH-4178)

(cherry picked from commit 4859ba0)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
@bedevere-bot
Copy link

GH-9215 is a backport of this pull request to the 3.6 branch.

@miss-islington
Copy link
Contributor

Sorry, @maxbelanger and @benjaminp, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 4859ba0d2ce4506fddc3f55f90f8dce031b3804f 2.7

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 12, 2018
…on (pythonGH-4178)

(cherry picked from commit 4859ba0)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
@bedevere-bot
Copy link

GH-9216 is a backport of this pull request to the 3.7 branch.

@miss-islington
Copy link
Contributor

Thanks @maxbelanger for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington added a commit that referenced this pull request Sep 12, 2018
…on (GH-4178)

(cherry picked from commit 4859ba0)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
miss-islington added a commit that referenced this pull request Sep 12, 2018
…on (GH-4178)

(cherry picked from commit 4859ba0)

Co-authored-by: Max Bélanger <aeromax@gmail.com>
@maxbelanger maxbelanger deleted the fix-issue-31903 branch October 26, 2018 23:08
@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error and removed needs backport to 3.7 labels Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants