[Python-Dev] Python and the Unicode Character Database
Alexander Belopolsky
alexander.belopolsky at gmail.com
Mon Nov 29 00:56:00 CET 2010
On Sun, Nov 28, 2010 at 6:03 PM, "Martin v. Löwis" <martin at v.loewis.de> wrote:
..
> No no no. Addition of Unicode identifiers has a well-designed,
> deliberate specification, with a PEP and all. The support for
> non-ASCII digits in float appears to be ad-hoc, and not founded
> on actual needs of actual users.
>
I wonder how carefully right-to-left scripts were considered when PEP
3131 was discussed.
Try the following on the python prompt:
>>> ڦ= int('١٢٣')
>>> ڦ
123
In my OSX Terminal window, entering ڦ flips the >>> prompt and the
session looks like this:
('???')int = ? <<<
More information about the Python-Dev
mailing list