[Python-Dev] Int FutureWarnings and other 2.4 TODOs

Guido van Rossum guido at python.org
Tue Nov 25 15:50:32 EST 2003

> I've submitted a patch (http://python.org/sf/849227).  And yes,
> somebody should probably take a good look at it before applying.  The
> (modified) test suite does pass on my machine, but that's all.  I may
> well have forgotten to add tests for new special cases, and I'm not
> the most experienced C programmer on the block either.


> As a side note, I think that line 233 in Lib/test/test_format.py
>   if sys.maxint == 2**32-1:
> should be
>   if sys.maxint == 2**31-1:
> but I didn't include that in the patch or submit a bug report.
> Should I?

This definitely smells like a bug (I've never seen a machine with
33-bit ints :-) so feel free to submit a separate patch to SF.

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

More information about the Python-Dev mailing list