Allowing non-ASCII identifiers

Paul Prescod paul at prescod.net
Fri Feb 13 14:24:42 EST 2004


Brian Quinlan wrote:

>>This is an overstatement. One of the great things about Python is that
>>it borrows from other langauges. VB and C# for sure and I think Java
>>allow non-ASCII identifiers and there was no catastrophe. VB has its
>>problems but Unicode identifiers is not a big one.
> 
> 
> I think that Python should borrow the C# identifier syntax verbatim. That
> way we can have code that looks like this:
> 
> class @class:
>     def @def(@def):
>         pass
> 
> cl\u0061ss.d\u0065f(true)

Have you ever seen real code like that? 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?

  Paul Prescod






More information about the Python-list mailing list