]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40010: Pass tstate to ceval GIL functions (GH-19077)
authorVictor Stinner <vstinner@python.org>
Fri, 20 Mar 2020 08:29:08 +0000 (09:29 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2020 08:29:08 +0000 (09:29 +0100)
commitda2914db4b6f786a1e9f0b424efeeb6ca9418912
tree2b2bd5df0a26ea023a300f2ab63ebee555a7d87f
parent8334f30a74abcf7e469b901afc307887aa85a888
bpo-40010: Pass tstate to ceval GIL functions (GH-19077)

* Add eval_frame_handle_pending() helper function: cold code path.
* Fix PyEval_ReleaseLock(): don't dereference tstate if it's NULL.
Python/ceval.c
Python/ceval_gil.h