[Python-ideas] [Python-Dev] Unicode minus sign in numeric conversions
Stephen J. Turnbull
stephen at xemacs.org
Wed Jun 12 06:04:27 CEST 2013
Andrew Barnert writes:
> If 二万三十, 2万3十, and 20030 all decode to 20030 from Japanese
Only the third does in a non-locale-specific way. The characters for
"man" and "juu" have numeric values, but not decimal ones.
> In some cases, the answer is probably just "don't do that".
I think (for builtins) that's the answer for all non-ASCII cases.<0.5 wink/>
More information about the Python-ideas
mailing list