]> granicus.if.org Git - python/commit
Fix calling order of PyEval_InitThreads. (GH-4602)
authorKenta Murata <mrkn@users.noreply.github.com>
Tue, 10 Sep 2019 10:29:56 +0000 (19:29 +0900)
committerBenjamin Peterson <benjamin@python.org>
Tue, 10 Sep 2019 10:29:56 +0000 (11:29 +0100)
commit9e61066355b4b55c873d56f5f106a22463b56862
tree84631850736c2815505294080cf461a5d08194e6
parente45b217ae0e83cfb367e9769cae59b9a5505f9b4
Fix calling order of PyEval_InitThreads. (GH-4602)

As described in Doc/c-api/init.rst, PyEval_InitThreads() cannot be called
before Py_Initialize() function.
Modules/_ctypes/callbacks.c