[issue1780] Decimal constructor accepts newline terminated strings
Mark Dickinson
report at bugs.python.org
Sat Jan 12 02:15:22 CET 2008
Mark Dickinson added the comment:
Here's a patch that alters the Decimal constructor to allow leading and
trailing whitespace.
The Context.create_decimal method should now be a fully conforming
implementation of to-number: it doesn't accept any leading or trailing
whitespace.
----------
keywords: +patch
Added file: http://bugs.python.org/file9136/issue1780.patch
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1780>
__________________________________
More information about the Python-bugs-list
mailing list