[issue7046] decimal.py: use DivisionImpossible and DivisionUndefined

Mark Dickinson report at bugs.python.org
Sat Oct 3 17:33:05 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Closed issue 7047 as a duplicate of this one:  
_raise_error(ConversionSyntax) also raises (if trapped) the 
InvalidOperation exception, when it could reasonably raise 
ConversionSyntax instead.  It's the same cause as above:  _raise_error 
translates each exceptional condition to the corresponding signal.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7046>
_______________________________________


More information about the Python-bugs-list mailing list