On Fri, 8 Dec 2017 14:30:00 +0200
Serhiy Storchaka <[email protected]>
wrote:
> 
> NumPy integers implement __index__.

That doesn't help if a function calls e.g. PyLong_AsLongAndOverflow().

Regards

Antoine.


_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to