odd behaviour with embedded python and omniorb

denginere denginere at hotmail.com
Thu Mar 25 17:46:20 CET 2004

I have a situation where I am embedding python in c++ and
calling omniorb within python.

c++ -> python -> c++ -> python

The python is called using the following
    // Import the module/script
    pTmpModule = PyImport_Import(pName);
    PyObject_CallObject(pFunc, pArgs);

If we call python once it's fine
If we call python a second time (as above) it fine *mostly*

However if we call python a second time, *and* import omniORB
the PyImport_Import fails!

Any thoughts appreciated

More information about the Python-list mailing list