[Pyrex] PyLong_AsUnsignedLong is broken

Simon Burton simon at arrowtheory.com
Thu Oct 28 13:48:29 CEST 2004


Hi All,

The new unsigned long conversions in pyrex 0.9.3 break my code:

SystemError: Objects/longobject.c:240: bad argument to internal function
(python 2.3)

Apparently it's because PyLong_AsUnsignedLong does not accept Int PyObjects:
http://mail.python.org/pipermail/patches/2004-September/016061.html

bye,

Simon.

-- 
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com 



More information about the Pyrex mailing list