Python/C: unsigned Py_BuildValue, PyInt_FromLong
usenet_chris at hedonism.cx
Wed Feb 25 19:51:21 CET 2004
Hi comp.lang.python readers,
are there routines to create a Python integer from unsigned C-integers?
I only could find Py_BuildValue and PyInt_FromLong which both only use
signed c-integers. Is there another way I overlooked?
ParseValue knows "k" for unsigned long, BuildValue doesn't.
PyInt_FromLong only uses a signed integer.
More information about the Python-list