New submission from Christian Heimes: >>> "{:<06}".format(1.2) '1.2000' >>> "{:<06}".format(decimal.Decimal(1.2)) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: invalid format string
---------- assignee: skrah messages: 182447 nosy: christian.heimes, skrah priority: normal severity: normal status: open title: Decimal doesn't support aligned fill type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17247> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com