[issue36963] PyDict_GetItem SegFaults on simple dictionary lookup when using Ctypes

Larry Hastings report at bugs.python.org
Sun May 19 20:14:19 EDT 2019


Larry Hastings <larry at hastings.org> added the comment:

Inada-san, while it is best to not call PyDict_ functions without holding the GIL, it doesn't matter unless one creates a second thread.  The GIL doesn't even exist until Python creates a second thread.

But, I too don't want bugs.python.org to become a "help people debug their programs" site.  Particularly when using ctypes, which crashes a lot.

----------

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


More information about the Python-bugs-list mailing list