[issue21422] int << 0: return the number unmodified
Francisco Martín Brugué
report at bugs.python.org
Tue May 13 18:28:57 CEST 2014
Francisco Martín Brugué added the comment:
>
> What we want to test is that the return value is of type 'int', which is what Victor's test checks.
>
Thank you for the explanations!
for 2.7.6 type(2 << 62) is <type 'long'> and type(2 << 61) is
<type 'int'> (I suppose it's analogous in a 32 bit machine
around type(2 << 30) so I just wanted to test on that limits).
Is that still relevant? or is too much detail and we should stop here.
Regards,
francis
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21422>
_______________________________________
More information about the Python-bugs-list
mailing list