Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Tue, Jul 29, 2008 at 8:30 AM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > > Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > > Bingo! doctest sets the __builtins__._ variable, > and the last doctest in decimal.py (in lexicographic order) is > Decimal.__round__, which ends with > >>> round(Decimal('sNaN123'), 0) > Decimal('NaN123') > This is the value you see in Benjamin's output. > > Here is a trivial patch:
Shouldn't this be fixed in test_decimal so it cleans properly after it's self? _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3462> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com