This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients facundobatista, gvanrossum, jyasskin, mark.dickinson, rhettinger
Date 2008-02-10.16:19:19
SpamBayes Score 0.2857169
Marked as misclassified No
Message-id <ca471dc20802100819n1ab4dda7n31d0062d65ad455@mail.gmail.com>
In-reply-to <1202657804.49.0.713422264312.issue1682@psf.upfronthosting.co.za>
Content
> I'm not sure I like the idea of names Rational and Fraction;  the two
> classes numbers.Rational and rational.Rational are quite different beasts,
> and using two almost-synonyms for their names seems like a bad idea.
> Is there some more descriptive name for numbers.Rational that might give a
> hint of its ABC-ness?

I'd rather not change the Rational ABC's name -- it is the
mathematically accepted term (Complex, Real, Rational, Integer, and
then natural numbers I believe). I'd rather not add a suffix or prefix
like A or Abc to the ABCs either. To be honest, we have a rather
hodge-podge of mappings from numeric ABCs to concrete implementations:
Complex/complex, Real/float, Rational/?, Integer/int. I think that,
given that fraction is the *common* name for rationals (see
wikipedia), it fits relatively well. We can introduce fractions
without ever mentioning the ABCs and users will immediately know what
they mean even if they haven't got more than grade school math.
History
Date User Action Args
2008-02-10 16:19:20gvanrossumsetspambayes_score: 0.285717 -> 0.2857169
recipients: + gvanrossum, rhettinger, facundobatista, mark.dickinson, jyasskin
2008-02-10 16:19:20gvanrossumlinkissue1682 messages
2008-02-10 16:19:19gvanrossumcreate