[Python-Dev] Mobius2

Paul Prescod paulp@ActiveState.com
Sat, 07 Jul 2001 12:03:14 -0700

Guido van Rossum wrote:
> Regarding the yield statement: I'd love to require a future statement,
> but the current support for future statements doesn't support
> modifying the parser based on the presence of future statements, and I
> don't know how to resolve that, short of totally rewriting the parser
> or scanning ahead looking for a future statement with some regular
> expression.

Jeff Epler has an extension to Python that allows the grammar to be
loaded at runtime. That might help:


Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook