New PEP: The directive statement

Delaney, Timothy tdelaney at
Thu Mar 22 00:41:58 CET 2001

> > There are however, two things against this PEP.
> > 1. It allows for one incompatible language change 
> (directive as keyword can
> > interfere with binding to name "directive" as the first 
> line of a file).
> Again (and parser-engineering aside), this does not need to cause any
> backward-incompatibility.  The proposed syntax is not ambiguous.

I agree - the syntax *to us* is not ambiguous, but the PEP allows for
ambiguity as the parser will not be changed to distinguish the two cases.

More information about the Python-list mailing list