Proposal: allow '?' and '!' in identifiers

Erik Max Francis max at alcyone.com
Mon Feb 19 23:31:58 EST 2001


Joshua Marshall wrote:

> Anybody have any thoughts on allowing the characters '!' and '?' in
> identifiers?  It's possible I'm missing something, but I think the
> only ambiguity this introduces is in the case of something like the
> following:
> 
>   a!=b
> 
> But whitespace easily disambiguates ("a! = b" vs "a != b").

But missing or adding a seemingly harmless space means that you've got a
completely different symbol.  Bad news.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ I don't like principles.  I prefer prejudices.
\__/ Oscar Wilde
    Alcyone Systems / http://www.alcyone.com/
 Alcyone Systems, San Jose, California.



More information about the Python-list mailing list