Proposal: allow '?' and '!' in identifiers
Erik Max Francis
max at alcyone.com
Sun Feb 25 14:18:27 EST 2001
jcm wrote:
> I understand that you dislike the idea of allowing '?' in identifiers.
> But it would not necessarily require "all sorts of weird parser
> logic". I expect it's a simple change to the lexer. I haven't looked
> at the Python codebase, so I don't know for sure. But I've written
> enough lexers and parsers to know what should be easy or difficult.
Sorry, I was comingling your requests for both '?' and '!' in
identifiers. It was '!' that would have required ambiguity checks, not
'?'.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/ \ It is only to the individual that a soul is given.
\__/ Albert Einstein
Kepler's laws / http://www.alcyone.com/max/physics/kepler/
A proof of Kepler's laws.
More information about the Python-list
mailing list