How about adding rational fraction to Python?

Mark Dickinson dickinsm at gmail.com
Sat Feb 16 14:26:52 EST 2008


On Feb 16, 1:35 pm, Lie <Lie.1... at gmail.com> wrote:
> Would all these problems with floating points be a rational reason to
> add rational numbers support in Python or Py3k? (pun not intended)

It's already in the trunk!  Python will have a rational type (called
Fraction) in Python 2.6 and Python 3.0, thanks largely to the work of
Jeffrey Yaskin.

Mark



More information about the Python-list mailing list