Message122693
>>>> float('½')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ValueError: could not convert string to float: �
>
>>>> float('42½')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ValueError
Note that fractional Unicode code points are not supported
by the encoding function. Neither are code points which do
not evaluate to 0-9, e.g. ones that represent numbers
larger than 9. |
|
Date |
User |
Action |
Args |
2010-11-28 18:09:25 | lemburg | set | recipients:
+ lemburg, mark.dickinson, belopolsky, vstinner, eric.smith, ezio.melotti, skrah |
2010-11-28 18:09:20 | lemburg | link | issue10557 messages |
2010-11-28 18:09:20 | lemburg | create | |
|