Mark Dickinson <dicki...@gmail.com> added the comment:

> Something like Fraction.as_decimal(prec=28) would be reasonable.

I'd prefer an implementation of Fraction.__format__.  That solves the SO user's 
need exactly.  Note that he/she didn't care about the Decimal type, but only 
wanted to be able to *print* digits of a Fraction;  the __format__ method is 
the OOWTDI.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15136>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to