[issue1780] Decimal constructor accepts newline terminated strings
Mark Dickinson
report at bugs.python.org
Thu Jan 10 02:50:11 CET 2008
Mark Dickinson added the comment:
Aargh! It's only the Context class that needs a to_number method---it
makes no sense as a Decimal method. And to_number is almost already
there, in the form of Context.create_decimal.
I'll work out exactly what the minimum is that needs to be done to
comply with the specification, and post a patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1780>
__________________________________
More information about the Python-bugs-list
mailing list