SYSTEM ERROR embedding python

Eric eric at mixadlive.com
Thu May 18 05:52:36 EDT 2000


Hi,

When I try to embdded python in a C code with PyRun_String, the function
returns the correct result and raises an exception :

PyRunString("import sys",Py_single_input,p_dict,p_dict);

the module sys is imported but python raised a System Error:
 
SystemError : NULL result without error in call_object

Do I do something wrong or should I wait python 1.6 to correct
the error

Thanks

Eric



More information about the Python-list mailing list