Skip to content

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

Merged
benjaminp merged 3 commits into
python:masterfrom
maxbelanger:fix-issue-31903
Sep 11, 2018
Merged

bpo-31903: Release the GIL when calling into SystemConfiguration#4178
benjaminp merged 3 commits into
python:masterfrom
maxbelanger:fix-issue-31903

Conversation

@maxbelanger

@maxbelanger maxbelanger commented Oct 30, 2017

Copy link
Copy Markdown
Contributor

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`.

@ronaldoussoren ronaldoussoren left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

@ronaldoussoren any updates on whether this can be merged?

@miss-islington

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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
Copy Markdown

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

@miss-islington

Copy link
Copy Markdown
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.

7 participants