[issue4591] 32-bits unsigned user/group identifier

Antoine Pitrou report at bugs.python.org
Sun Feb 10 23:46:55 CET 2013


Antoine Pitrou added the comment:

> Not technically the topic of this issue, but should we just lock
> down _Py_Uid_Converter() to ints?

The right way to do it should be to use PyNumber_Index().

(perhaps we need as PyNumber_AsLongIndex() to do the direct conversion
to a C long, it would make things easier in many cases)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4591>
_______________________________________


More information about the Python-bugs-list mailing list