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 <rep...@bugs.python.org> <http://bugs.python.org/issue21422> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com