[Python-Dev] Unicode identifiers

2011-09-20 Thread Egon Smiwa

Hi all,
I wanted to implement quantity objects in a software,
which can be used with user-friendly expressions like:
money = 3 * €, where Euro is a special quantity object
But now I realized, Python does not allow currency
characters in names, although they can be very useful.
Is there a really convincing argument against the inclusion?

Thank you!

___
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


Re: [Python-Dev] Unicode identifiers

2011-09-20 Thread Benjamin Peterson
2011/9/20 Egon Smiwa :
> Hi all,
> I wanted to implement quantity objects in a software,
> which can be used with user-friendly expressions like:
> money = 3 * €, where Euro is a special quantity object
> But now I realized, Python does not allow currency
> characters in names, although they can be very useful.
> Is there a really convincing argument against the inclusion?

It's a violation of http://unicode.org/reports/tr31/



-- 
Regards,
Benjamin
___
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