[issue22530] re rejects index of type long on 2.7
Gregory P. Smith
report at bugs.python.org
Thu Oct 2 23:22:34 CEST 2014
Gregory P. Smith added the comment:
thanks. btw an alternative type check to consider in these situations: PyIndex_Check
https://docs.python.org/2/c-api/number.html#c.PyIndex_Check
but what you wrote works.
----------
nosy: +gregory.p.smith
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22530>
_______________________________________
More information about the Python-bugs-list
mailing list