Eric Smith <e...@trueblade.com> added the comment: I agree that: format(Decimal('1.23'), '#.6g') should give '1.23000', just as: format(1.23, '#.6g') does.
I'll work on fixing the patch, although if I don't get to it in the next few days I'll commit the existing patch and open another issue, just to make sure this gets in before the beta. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7094> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com