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/2004-August/047543.html below:

[Python-Dev] Unifying Long Integers and Integers: baseint

[Python-Dev] Unifying Long Integers and Integers: baseint [Python-Dev] Unifying Long Integers and Integers: baseintSkip Montanaro skip at pobox.com
Tue Aug 10 15:35:14 CEST 2004
    >> I think it would be worth considering all the numeric types at once
    >> and come up with a reasonable hierarchy that includes float, complex
    >> and decimal types as well.  (It's clear there is no "best" way to do
    >> that.)

    Dmitry> Something like following?

    Dmitry> object
    Dmitry>      numeric
    Dmitry>          integer
    Dmitry>              int
    Dmitry>              long
    Dmitry>          float
    Dmitry>          complex

At some level it seems that float is a specialization of complex (w/ imag
field == 0).  Also, it's not clear that float or complex don't have
something other than a sibling relationship to integers.

I don't have the time to dig up the previous discussions.  Three days out of
town left me we nearly a thousand Python-related mail messages.  I have no
idea how (if at all) I'll be able to boil any of that down into reasonable
edits to PEP 318.

Skip
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