FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[2.7] bpo-20891: Fix PyGILState_Ensure() (#4650) by vstinner · Pull Request #4657 · python/cpython · GitHub

/ cpython Public

[2.7] bpo-20891: Fix PyGILState_Ensure() (#4650) - #4657

Merged
vstinner merged 1 commit into
python:2.7from
vstinner:pygilstate_ensure27
Nov 30, 2017
Merged

[2.7] bpo-20891: Fix PyGILState_Ensure() (#4650)#4657
vstinner merged 1 commit into
python:2.7from
vstinner:pygilstate_ensure27

Conversation

vstinner commented Nov 30, 2017
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.

(cherry picked from commit b4d1e1f)

https://bugs.python.org/issue20891

When PyGILState_Ensure() is called in a non-Python thread before
PyEval_InitThreads(), only call PyEval_InitThreads() after calling
PyThreadState_New() to fix a crash.

(cherry picked from commit b4d1e1f)
vstinner merged commit be6b74c into python:2.7 Nov 30, 2017
vstinner deleted the pygilstate_ensure27 branch November 30, 2017 22:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL