[Python-Dev] Python and the Unicode Character Database
Antoine Pitrou
solipsis at pitrou.net
Sun Nov 28 21:43:11 CET 2010
On Sun, 28 Nov 2010 15:24:37 -0500
Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote:
> While we have little choice but to follow UCD in defining
> str.isidentifier(), I think Python can promise users more stability in
> what it treats as space or as a digit in its builtins.
Well, if "unicode support" means "support the latest version of the
Unicode standard", I'm not sure we have a choice.
We can make exceptions, but that would only confuse users even more,
wouldn't it?
> For example,
> I don't think that supporting
>
> >>> float('١٢٣٤.٥٦')
> 1234.56
>
> is more important than to assure users that once their program
> accepted some text as a number, they can assume that the text is
> ASCII.
Why would they assume the text is ASCII?
Regards
Antoine.
More information about the Python-Dev
mailing list