Mark Dickinson <dicki...@gmail.com> added the comment: I agree that Decimal should be consistent with int and float.
I'm not sure I'd classify the current behaviour as a bug, though: presumably this behaviour was intentional at the time it was originally coded? I guess backporting *probably* won't do any harm, since it seems likely that format(x, 'n') hasn't gained wide adoption yet. +1 for changing this in 2.7 and 3.1; -0 for backporting the change. Eric, did you mean to assign this to me? I'm not sure I have time for this at the moment, though I'd be happy to review and test when the time comes. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com