How do I handle _unsigned_ longs returned by functions I want to expose to Python
using SIP? When they are greater than sys.maxint I get:
FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4
and up
Python 2.3.3, SIP 3.10 (3.10-171).
I could provide %MethodCode that uses PyLong_FromUnsignedLong() instead of the
PyInt_FromLong() call SIP uses, but maybe SIP can already do that for me if I knew how
to ask it.
Thanks,
Ric
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde