This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, eric.smith, ezio.melotti, lemburg, mark.dickinson, skrah, vstinner
Date 2010-11-28.20:38:11
SpamBayes Score 8.583795e-08
Marked as misclassified No
Message-id <>
Sending this by e-mail was not a good idea ...

On Sun, Nov 28, 2010 at 3:30 PM, Stefan Krah <> wrote:
>> UnicodeEncodeError: 'decimal' codec can't encode character '\u066b'
> Hmm, looks like a bug? I think U+066B is correct.
Really?  What about

>>> float('1234.56')
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'decimal' codec can't encode character '\uff0e' in
position 4: invalid decimal Unicode string

.. and where do we draw the line?  Note that I am not against
Decimal() accepting any c with c.isdigit() returning True, but
builtins should be less promiscuous IMO.
Date User Action Args
2010-11-28 20:38:15belopolskysetrecipients: + belopolsky, lemburg, mark.dickinson, vstinner, eric.smith, ezio.melotti, skrah
2010-11-28 20:38:15belopolskysetmessageid: <>
2010-11-28 20:38:11belopolskylinkissue10557 messages
2010-11-28 20:38:11belopolskycreate