Message122725
| Author |
belopolsky |
| Recipients |
belopolsky, eric.smith, ezio.melotti, lemburg, mark.dickinson, skrah, vstinner |
| Date |
2010年11月28日.20:36:59 |
| SpamBayes Score |
9.315207e-09 |
| Marked as misclassified |
No |
| Message-id |
<AANLkTinrLb8z=FVSZj1zJFKqQ4r1MqT-HULED0WH=KWG@mail.gmail.com> |
| In-reply-to |
<1290976240.88.0.590221602119.issue10557@psf.upfronthosting.co.za> |
| Content |
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
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. |
|