Staging
v0.5.1
https://github.com/python/cpython
Revision 01b1cc12e7c6a3d6a3d27ba7c731687d57aae92a authored by Victor Stinner on 20 November 2019, 01:27:56 UTC, committed by GitHub on 20 November 2019, 01:27:56 UTC
Add PyInterpreterState.runtime field: reference to the _PyRuntime
global variable. This field exists to not have to pass runtime in
addition to tstate to a function.  Get runtime from tstate:
tstate->interp->runtime.

Remove "_PyRuntimeState *runtime" parameter from functions already
taking a "PyThreadState *tstate" parameter.

_PyGC_Init() first parameter becomes "PyThreadState *tstate".
1 parent eb1cbbf
History
Tip revision: 01b1cc12e7c6a3d6a3d27ba7c731687d57aae92a authored by Victor Stinner on 20 November 2019, 01:27:56 UTC
bpo-36710: Add PyInterpreterState.runtime field (GH-17270)
Tip revision: 01b1cc1
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.2 KB
README.rst -rw-r--r-- 9.8 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 492.2 KB
configure.ac -rw-r--r-- 162.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.0 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top