New submission from Constantine Evans :
Decimal as implemented in _pydecimal supports the '#' alternate form in format
strings, though this does not appear to be documented: as with floats, it
causes a decimal point to be included regardless of value. Decimal as
implemented in cd
Constantine Evans added the comment:
Some other non-matching exceptions are unfriendly, but do not come from
libmpdec and could be made to match without, I think, causing problems. For
example:
>>> format(_decimal.Decimal(1), "invalid")
...
ValueError: in