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 <rep...@bugs.python.org> <http://bugs.python.org/issue4591> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com