Message70392
On Tue, Jul 29, 2008 at 8:30 AM, Amaury Forgeot d'Arc
<report@bugs.python.org> wrote:
>
> Amaury Forgeot d'Arc <amauryfa@gmail.com> 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? |
|
Date |
User |
Action |
Args |
2008-07-29 13:32:12 | benjamin.peterson | set | recipients:
+ benjamin.peterson, amaury.forgeotdarc, pitrou |
2008-07-29 13:32:11 | benjamin.peterson | link | issue3462 messages |
2008-07-29 13:32:11 | benjamin.peterson | create | |
|