STINNER Victor <vstin...@redhat.com> added the comment:

> If the call to PyCFunction_New is done from a C extension module, is it also 
> necessary to call Py_Initialize()?

Py_Initialize() must always be called first.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35408>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to