PyInt_AsLong()

Ralf Juengling juenglin at informatik.uni-freiburg.de
Wed Apr 3 04:49:28 EST 2002


Hi,

PyInt_AsLong() returns '-1´ to indicate an error, this meets the convetion 
for PyXXX()-functions which return integers. But how do you distinguish an
'-1' indicating an error from a the legal long-value '-1'?

Cheers,
Ralf




More information about the Python-list mailing list