[New-bugs-announce] [issue32165] PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c

Kenta Murata report at bugs.python.org
Tue Nov 28 21:56:08 EST 2017


New submission from Kenta Murata <muraken at gmail.com>:

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

----------
components: ctypes
messages: 307202
nosy: mrkn
priority: normal
pull_requests: 4546
severity: normal
status: open
title: PyEval_InitThreads is called before Py_Initialize in LoadPython in Modules/_ctypes/callbacks.c
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32165>
_______________________________________


More information about the New-bugs-announce mailing list