From: <mi...@st...> - 2005-03-03 05:58:00
|
Deepak Giridharagopal wrote: > > Upon further research, it looks like in Python 2.3 (and later) the "I" > flag will *either* convert the argument to a long *or* an unsigned int. > In previous versions of Python, "I" will attempt to always convert to a > long (resulting in the TypeError). > [..] > So I've (slightly) re-worked the patch to examine what version of Python > is being used and react accordingly. No easy way to make it work without another #if ? Please commit your patch. Ciao, Michael. |