[Python-Dev] PEP 3000 and exec
bcannon at gmail.com
Mon Oct 10 22:29:26 CEST 2005
On 10/10/05, Christos Georgiou <tzot at mediconsa.com> wrote:
> This might be minor-- but I didn't see anyone mentioning it so far. If
> `exec` functionality is to be provided, then I think it still should be a
> keyword for the parser to know; currently bytecode generation is affected if
> `exec` is present. Even if that changes for Python 3k (we don't know yet),
> the paragraph for exec should be annotated with a note about this issue.
But the PEP says that 'exec' will become a function and thus no longer
become a built-in, so changing the grammar is not needed.
More information about the Python-Dev