| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
s/not more/no more/
Sorry, something went wrong.
There was a problem hiding this comment.
oops, replaced with "no longer"
Sorry, something went wrong.
|
Is there any documentation to update? |
Sorry, something went wrong.
Done, see my updated PR. |
Sorry, something went wrong.
There was a problem hiding this comment.
I would phrase it more explicitly:
This function is now called by :c:func:`Py_Initialize()`, so you don't have to call it yourself anymore.
Sorry, something went wrong.
There was a problem hiding this comment.
done
Sorry, something went wrong.
|
This branch seems to fix the issue for me on macOS 10.12.6 |
Sorry, something went wrong.
|
For benchmark results, see https://bugs.python.org/issue20891#msg308588 |
Sorry, something went wrong.
The GIL is no longer created "on demand" to fix a race condition when PyGILState_Ensure() is called in a non-Python thread.
Remove also mention of the "thread support", since thread support cannot be disabled anymore.
Make the assumption that the GIL is always created (by Py_Initialize()).
|
@vstinner: Please replace # with GH- in the commit message next time. Thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The GIL is not more created "on demand" to fix a race condition when
PyGILState_Ensure() is called in a non-Python thread.
https://bugs.python.org/issue20891