[issue5481] Expand Decimal.__format__() support to include n

2009-03-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Closing as duplicate of issue 2110. -- resolution: - duplicate status: open - closed superseder: - Implement __format__ for Decimal ___ Python tracker rep...@bugs.python.org

[issue5481] Expand Decimal.__format__() support to include n

2009-03-13 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5481 ___ ___ Python-bugs-list mailing

[issue5481] Expand Decimal.__format__() support to include n

2009-03-12 Thread Raymond Hettinger
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: from decimal import Decimal as D format(D('1234.5'), n) . . . ValueError: Invalid format specifier: n -- assignee: marketdickinson components: Library (Lib) messages: 83500 nosy: marketdickinson, rhettinger

[issue5481] Expand Decimal.__format__() support to include n

2009-03-12 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Thanks---this is already on my list of things to get done for 3.1: see issue 2110. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5481