On Sun, Nov 28, 2010 at 6:03 PM, "Martin v. Löwis" <[email protected]> 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 = ? <<<
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com