TheShadow wrote:
> When extending python in c/c++ after you register a module is there a
> way in c/c++ to check if they were correctly registered?
> 
> Cause I'm having the problem where when I execute the the python
> script it finds the module but none of the functions.
> 

Are you calling Py_InitModule(...) in your initmodule function? If so, 
Py_InitModule(...) returns a reference to the module object. You can use 
this object to double check that your function names exist in the 
modules dictionary. Most likely, there is an error in your code. If you 
post it, it would be easier to tell what the problem is.

-Farshid
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to