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/047539.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: baseintDmitry Vasiliev lists at hlabs.spb.ru
Tue Aug 10 19:25:07 CEST 2004
Skip Montanaro wrote:
>     >> Is there a plan for implementing a base class for int and long (like
>     >> basestring for str and unicode):
> 
>     Michael> Not that I'm aware of.
> 
> We've discussed the numeric type hierarchy in the past.  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.)

Something like following?

object
     numeric
         integer
             int
             long
         float
         complex


PS I've already have implementation for baseinteger, but can't made a 
patch since cvs.python.sourceforge.net always told me 'Connection timed 
out'... :-/

-- 
Dmitry Vasiliev (dima at hlabs.spb.ru)
     http://hlabs.spb.ru
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