What is the difference between 32 and 64 bit Python on Windows 7 64 bit?

Sturla Molden sturla.molden at gmail.com
Mon May 12 20:18:49 EDT 2014


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





More information about the Python-list mailing list