]> granicus.if.org Git - python/commit
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592)
authorVictor Stinner <vstinner@redhat.com>
Fri, 3 Aug 2018 13:33:52 +0000 (15:33 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Aug 2018 13:33:52 +0000 (15:33 +0200)
commitcaba55b3b735405b280273f7d99866a046c18281
tree3a98ac383b1fbab272158933255fb1a14107ebf6
parent2ebd3813af9172fe1f9b2f6004edf6f1e1e5d9f1
bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592)

sys_setcheckinterval() now uses a local variable to parse arguments,
before writing into interp->check_interval.
22 files changed:
Include/pystate.h
Modules/_threadmodule.c
Modules/_xxsubinterpretersmodule.c
Modules/posixmodule.c
Modules/zipimport.c
Objects/codeobject.c
Objects/listobject.c
Objects/moduleobject.c
Objects/object.c
Objects/tupleobject.c
Objects/unicodeobject.c
Programs/_testembed.c
Python/_warnings.c
Python/ceval.c
Python/codecs.c
Python/dynload_shlib.c
Python/import.c
Python/pylifecycle.c
Python/pystate.c
Python/pythonrun.c
Python/sysmodule.c
Python/thread.c