]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40268: Add _PyInterpreterState_GetConfig() (GH-19492)
authorVictor Stinner <vstinner@python.org>
Mon, 13 Apr 2020 01:04:28 +0000 (03:04 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 01:04:28 +0000 (03:04 +0200)
commitda7933ecc30e37b119756cb02b89a6ad99db22e0
treee6c7227f2ded7b7354fb027342fa977f70808d10
parent14d5331eb5e6c38be12bad421bd59ad0fac9e448
bpo-40268: Add _PyInterpreterState_GetConfig() (GH-19492)

Don't access PyInterpreterState.config member directly anymore, but
use new functions:

* _PyInterpreterState_GetConfig()
* _PyInterpreterState_SetConfig()
* _Py_GetConfig()
19 files changed:
Include/cpython/pystate.h
Include/internal/pycore_pystate.h
Modules/_io/_iomodule.c
Modules/_io/iobase.c
Modules/_io/textio.c
Modules/main.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/moduleobject.c
Objects/unicodeobject.c
Python/bltinmodule.c
Python/compile.c
Python/dynload_hpux.c
Python/import.c
Python/initconfig.c
Python/pylifecycle.c
Python/pystate.c
Python/pythonrun.c
Python/sysmodule.c