Staging
v0.8.1
https://github.com/python/cpython
Revision 85f5a69ae1541271286bb0f0e0303aabf792dd5c authored by Victor Stinner on 09 March 2020, 21:12:04 UTC, committed by GitHub on 09 March 2020, 21:12:04 UTC
* Remove ceval parameter of take_gil(): get it from tstate.
* Move exit_thread_if_finalizing() call inside take_gil(). Replace
  exit_thread_if_finalizing() with tstate_must_exit(): the caller is
  now responsible to call PyThread_exit_thread().
* Move is_tstate_valid() assertion inside take_gil(). Remove
  is_tstate_valid(): inline code into take_gil().
* Move gil_created() assertion inside take_gil().
1 parent 363fab8
History
Tip revision: 85f5a69ae1541271286bb0f0e0303aabf792dd5c authored by Victor Stinner on 09 March 2020, 21:12:04 UTC
bpo-39877: Refactor take_gil() function (GH-18885)
Tip revision: 85f5a69
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.7 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 495.5 KB
configure.ac -rw-r--r-- 165.6 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.1 KB
setup.py -rw-r--r-- 104.3 KB

README.rst

back to top