Constantine Evans <[email protected]> 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: invalid format string
>>> format(_pydecimal.Decimal(1), "invalid")
...
ValueError: Invalid format specifier: invalid
Would it make sense to make a patch to make these match?
----------
nosy: +const
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue26208>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com