[issue8567] decimal module doesn't respect precedence rules for exceptional conditions

Mark Dickinson report at bugs.python.org
Thu Apr 29 15:29:21 CEST 2010


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

Thanks, Stefan.  The cdecimal and decnumber behaviour sounds like the ideal one to me.

I'm not sure how easy it would be to adopt this behaviour for decimal: it could require some significant rewriting, so we may have to leave decimal as it is and call the flag situation undefined.

I'll take a proper look sometime (soon, I hope);  Decimal._fix is the main place that's going to need fixes.  The hard part is tracking down all the other places where a signal is raised.

----------

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


More information about the Python-bugs-list mailing list