always getting 'None' return value from PyObject_CallObject

Carsten Haese carsten at uniqsys.com
Sun Mar 23 20:05:36 EDT 2008


On Sun, 2008-03-23 at 23:43 +0000, Gal Aviel wrote:
> [...]
> When calling a function defined in my module, the function executes Ok

How do you know that?

>  - it sees
> the correct arguments being passed from C

How do you know that?

> , and executes 100%

How do you know that?

>  - only the return
> value is always 'None'

How are you reaching this conclusion?

>  (I tried returning a simple integer like '5' which
> doesn't work).

What does "doesn't work" mean?

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list