Re: [Python-Dev] embedding - PyImport_AppendInittab() after Py_Initialize()

2016-05-30 Thread Brett Cannon
On Fri, 27 May 2016 at 07:50 Vitaly Murashev wrote: > Could anyone please clarify whether it is correct in python3.5 to call > PyImport_AppendInittab() after Py_Initialize() > It should be called before as PyImport_AppendInittab() is shorthand for PyImport_ExtendInittab() and it says to call pri

[Python-Dev] embedding - PyImport_AppendInittab() after Py_Initialize()

2016-05-27 Thread Vitaly Murashev
Could anyone please clarify whether it is correct in python3.5 to call PyImport_AppendInittab() after Py_Initialize() I found this case among the tests for boost.python https://github.com/boostorg/python/blob/develop/test/exec.cpp And this test doesn't work for me with python3.5.An error looks li