A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-November/040439.html below:

[Python-Dev] Int FutureWarnings and other 2.4 TODOs

[Python-Dev] Int FutureWarnings and other 2.4 TODOs [Python-Dev] Int FutureWarnings and other 2.4 TODOsGuido 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.

Thanks!

> 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4