[issue1780] Decimal constructor accepts newline terminated strings

Guido van Rossum report at bugs.python.org
Thu Jan 10 02:04:41 CET 2008


Guido van Rossum added the comment:

I'd propose doing the same thing as int() and float(), which accept and
strip leading and trailing whitespace.

----------
nosy: +gvanrossum

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1780>
__________________________________


More information about the Python-bugs-list mailing list