Py_BuildValue format code for unsigned int ?

Helmut Jarausch jarausch-remove at
Wed Feb 25 10:59:29 CET 2004


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

More information about the Python-list mailing list