[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)
Nick Coghlan
report at bugs.python.org
Wed Dec 11 00:11:10 CET 2013
Nick Coghlan added the comment:
The ssize_t functions deliberately ignore lossy int conversions (e.g. from
floats) - that's why they only work on types that implement __index__.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17576>
_______________________________________
More information about the Python-bugs-list
mailing list