On 13/05/14 02:09, Chris Angelico wrote:
Sometimes you just want to confirm. :) Or maybe you want your program to be able to detect which it's on. There are ways of doing both, but sys.maxint isn't one of them, as it's specific to the int->long promotion of Py2.
The OPs main mistake, I guess, was to assume that sys.maxint is the biggest integer value Python 2.x can use.
Sturla -- https://mail.python.org/mailman/listinfo/python-list