Py_BuildValue format code for unsigned int ?

Helmut Jarausch jarausch-remove at igpm.rwth-aachen.de
Wed Feb 25 04:59:29 EST 2004


Hi,

is there a format code to return an unsigned int to Python via 
Py_BuildValue? Just using code 'i' gives negative values for values 
greater than 2**31.

I've tried the code 'I' (with python 2.4 cvs) but that's not accepted.

Many thanks for a hint,

---
Helmut Jarausch
RWTH-Aachen University
Germany



More information about the Python-list mailing list