From: Raymond Hettinger Date: Mon, 5 Jul 2004 18:48:22 +0000 (+0000) Subject: * Update the todo list. X-Git-Tag: v2.4a1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca3cc2fe2191367e1f939ab825804bfc72b34cd6;p=python * Update the todo list. * Make ConversionSyntax signals get trapped by default. --- diff --git a/Lib/decimal.py b/Lib/decimal.py index d5f6795407..500ba07a10 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -9,7 +9,7 @@ # Todo: -# Provide a clean way of attaching monetary format representations +# Add rich comparisons for equality testing with other types """ @@ -2969,6 +2969,7 @@ DefaultContext = Context( Emin=DEFAULT_MIN_EXPONENT, capitals=1 ) +DefaultContext.trap_enablers.update({ConversionSyntax : 1}) # Pre-made alternate contexts offered by the specification # Don't change these; the user should be able to select these