[docs] [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>

More information about the docs mailing list