why () is () and [] is [] work in other way?

Chris Angelico rosuav at gmail.com
Thu Apr 26 08:39:53 EDT 2012


On Thu, Apr 26, 2012 at 10:12 PM, Robert Kern <robert.kern at gmail.com> wrote:
> Yes. Win64 has 64-bit pointers and 32-bit C longs (and thus 32-bit Python
> ints).
>
> It returns a Python long.

Ah, that solves that one. Definite improvement in Python 3 with the
merging of the two types, though. Machine integers are simply a
performance optimization for small values.

ChrisA



More information about the Python-list mailing list