[issue6255] PyInt_FromSize_t is undocumented.
Naoki INADA
report at bugs.python.org
Thu Jun 11 02:57:40 CEST 2009
Naoki INADA <songofacandy at gmail.com> added the comment:
You're right. PyInt_FromSize_t() isn't safe for unsigned long.
> Maybe a PyInt_FromUnsignedLong method would be useful? It would be
trivial to
> implement.
I hope that all of py3k's PyInt_From** are in Python 2.x.
It makes maintaining extension module for both of Py2.x and Py3k a bit
easier.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6255>
_______________________________________
More information about the Python-bugs-list
mailing list