[issue1682] Move Demo/classes/Rat.py to Lib/fractions.py and fix it up.

Nick Coghlan report at bugs.python.org
Tue Feb 12 23:39:42 CET 2008


Nick Coghlan added the comment:

Thanks for adding the class methods back Mark.

On the constructor front, we got a fair payoff in the early Decimal days
just by reordering the type checks in the constructor. Other than that,
I'd have to dig into the code a bit more to offer any useful suggestions.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1682>
__________________________________


More information about the Python-bugs-list mailing list