[Python-Dev] 32-bit values (was RE: [Python-checkins] python/dist/src/Lib/test test_zlib.py,1.18,1.19)

Guido van Rossum guido@python.org
Mon, 12 Aug 2002 12:27:32 -0400


> Guido van Rossum <guido@python.org> writes:
> 
> > Or perhaps "l" should be allowed to accept longs in range(-2**31,
> > 2**32) ?
> 
> For the struct and array modules, that sounds reasonable.

Though Tim brought up that then you won't always get back what you put
in (if you put in a value > sys.maxint, it comes back negative).

Is that a problem or not?  I tend to think that's not how this is most
often used.

--Guido van Rossum (home page: http://www.python.org/~guido/)