[issue1172711] long long support for array module

Meador Inge report at bugs.python.org
Tue Sep 13 19:52:25 CEST 2011


Meador Inge <meadori at gmail.com> added the comment:

> Yes, please let's not add any new __int__-based duck typing here;

Mark, just to clarify a bit, the behavior is already there in the array module (by way of 'PyLong_AsLong').  The fact that it is there was picked up on a code review for this issue.

Anyway, I think we should open a new issue to track the '__index__' vs. '__int__' stuff.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1172711>
_______________________________________


More information about the Python-bugs-list mailing list