the meaning of rユ.......ï¾

Henrik Faber hfaber at invalid.net
Mon Jul 23 09:59:37 EDT 2012


On 23.07.2012 15:55, Henrik Faber wrote:

> Dear Lord.
> 
> Python 3.2 (r32:88445, Dec  8 2011, 15:26:58)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> fööbär = 3
>>>> fööbär
> 3
> 
> I didn't know this. How awful.

Apparently, not all characters are fine with Python. Why can I not have
domino tiles are identifier characters?

>>> 🀻 = 9
  File "<stdin>", line 1
    🀻 = 9
     ^
SyntaxError: invalid character in identifier

I think there needs to be a PEP for that.

Regads,
Henrik



More information about the Python-list mailing list