[Python-Dev] RE: CVS: python/dist/src/Parser parsetok.c,2.25,2.26
Mon, 16 Jul 2001 13:01:28 -0400
> A pile of new xxxFlags() functions, to communicate to the parser
> that 'yield' is a keyword.
> Would those APIs also be usable for a new "directive" keyword ?
Sure, but there's no general machinery here, just the raw existence of a new
int "flags" argument, and a ton of teensy special-casing in two dozen other
files to support "from __future__ import generators" only and specifically.
No new general "parser API" exists or should be inferred.