Author belopolsky
Recipients belopolsky, eric.smith, ezio.melotti, lemburg, mark.dickinson, skrah, vstinner
Date 2010-11-28.20:38:11
SpamBayes Score 8.58379e-08
Marked as misclassified No
Message-id <1290976695.52.0.199541154915.issue10557@psf.upfronthosting.co.za>
In-reply-to
Content
Sending this by e-mail was not a good idea ...

On Sun, Nov 28, 2010 at 3:30 PM, Stefan Krah <report@bugs.python.org> 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.
History
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: <1290976695.52.0.199541154915.issue10557@psf.upfronthosting.co.za>
2010-11-28 20:38:11belopolskylinkissue10557 messages
2010-11-28 20:38:11belopolskycreate