Message91395
Mark Dickinson wrote:
>
> I'm less concerned about decimal points and the like, and more bothered by
> the fact that e.g., int(x, 16) accepts some, but not all, characters with
> the Hex_Digit property. This seems counter to the intent of the Unicode
> standard.
int()/float() use the decimal codec for numbers - this only supports
base-10 numbers. For hex numbers, we'd need a new hex codec (only
the encoder part, actually), otherwise, int('a') would start to return
10.
Any takers ? |
|
Date |
User |
Action |
Args |
2009-08-07 08:45:55 | lemburg | set | recipients:
+ lemburg, loewis, mark.dickinson, ggenellina, pitrou, eric.smith, ezio.melotti |
2009-08-07 08:45:53 | lemburg | link | issue6632 messages |
2009-08-07 08:45:52 | lemburg | create | |
|