]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix calling order of PyEval_InitThreads. (GH-5833)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Sep 2019 14:37:34 +0000 (07:37 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 10 Sep 2019 14:37:34 +0000 (15:37 +0100)
commit4fbe0ee5487055216c71596d694e323dbac02582
tree759c271326862af277fdc8f8280669a075a65a68
parent0fccd4ab5b2238b6340901dd0023a1a157852792
Fix calling order of PyEval_InitThreads. (GH-5833)

As described in Doc/c-api/init.rst, PyEval_InitThreads() cannot be called
before Py_Initialize() function.
(cherry picked from commit 9e61066355b4b55c873d56f5f106a22463b56862)

Co-authored-by: Kenta Murata <mrkn@users.noreply.github.com>
Modules/_ctypes/callbacks.c