[issue2478] decimal.Decimal( 0 ).sqrt() fails

Mark Dickinson report at bugs.python.org
Tue Mar 25 15:40:08 CET 2008


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

Fixed in r61892 (2.6) and r61893 (2.5).  Thanks for the report!

This bug exposes a flaw in the decimal testsuite:  the thousands of 
testcases in Lib/test/decimaltestdata are only ever run with an explicitly 
given context.  Would it be worth having an option to run (almost all) 
these tests with an implicit context as well, or even to
do this by default in addition to the explicit context testing?

----------
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2478>
__________________________________


More information about the Python-bugs-list mailing list