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

Skip Montanaro skip at pobox.com
Tue Aug 10 14:55:53 CEST 2004


    >> 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.)

Skip


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant