Allowing non-ASCII identifiers

Brian Quinlan brian at sweetapp.com
Fri Feb 13 20:48:36 CET 2004


Paul Prescod wrote:
> > class @class:
> >     def @def(@def):
> >         pass
> >
> > cl\u0061ss.d\u0065f(true)
> 
> Have you ever seen real code like that? 

I've never seen any non-ASCII code in any language. 

> If not, what are you worried about? That C# programmers are reasonable 
> but Python programmers are devious and will go to extra effort to make
> your life difficult?

I don't think that there is any reasonable usage of syntax like that, so why
have it in the language?

Cheers,
Brian





More information about the Python-list mailing list