A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-August/017038.html below:

[Python-Dev] Re: Revised PEP 237

[Python-Dev] Re: Revised PEP 237 - Unifying Long Integers and Integers [Python-Dev] Re: Revised PEP 237 - Unifying Long Integers and IntegersSkip Montanaro skip@pobox.com (Skip Montanaro)
Tue, 14 Aug 2001 14:03:40 -0500
    Guido> I'm proposing an implementation plan that keeps int and long as
    Guido> separate types, but otherwise will totally remove the
    Guido> differences.

    ...

    Guido> Please mail comments to me or to python-dev@python.org.

Looks reasonable to me.  I don't generally program anywhere near the edges
of current short integer arithmentic except when writing little demo
functions like fib or fact.  I wonder though, if some programmers might like
the option of telling integer arithmentic raise OverflowError instead of
coercing results to long ints.  If you're expecting to be playing with
numbers near zero and you start silently getting longs instead, it might be
nice to see an exception instead of having your program wander off into the
weeds (probably somewhat slowly).

Just a thought.

Skip




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