For review: PEP 308 - If-then-else expression

James J. Besemer jb at cascade-sys.com
Mon Feb 10 14:26:50 EST 2003


holger krekel wrote:
> 
> would leave the parser having to look ahead of what this means.

The parser ALREADY looks ahead to do it's job.  That's the whole point of a 
parser.  It's not any kind of hardship.

The only technical problem is if a proposed construct is ambiguous in the 
sense that the parser simply cannot resolve it.  In which case the construct 
cannot be implemented.

Many of the proposals have been rejected because they seem ambiguous in a 
subjective sense -- a higher, non-technical, non-objective standard.

--jb



-- 
James J. Besemer		503-280-0838 voice
2727 NE Skidmore St.		503-280-0375 fax
Portland, Oregon 97211-6557	mailto:jb at cascade-sys.com
				http://cascade-sys.com	







More information about the Python-list mailing list