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-March/034019.html below:

[Python-Dev] More int/long integration issues

[Python-Dev] More int/long integration issues [Python-Dev] More int/long integration issuesDavid Abrahams dave@boost-consulting.com
Thu, 13 Mar 2003 11:27:07 -0500
I was recently surprised by:

    Python 2.3a2+ (#1, Feb 24 2003, 15:02:10)
    [GCC 3.2 20020927 (prerelease)] on cygwin
    Type "help", "copyright", "credits" or "license" for more information.
    >>> xrange(2 ** 32)
    Traceback (most recent call last):
      File "<stdin>", line 1, in ?
    OverflowError: long int too large to convert to int

Now that we have a kind of long/int integration, maybe it makes sense
to update xrange()?  Or is that really a 2.4 feature?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




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