[Python-Dev] Simplify lnotab? (AST branch update)

François Pinard pinard at iro.umontreal.ca
Fri Oct 14 03:41:35 CEST 2005


[Phillip J. Eby]

> It'd be nice to be able to do the equivalent of '#line' directives for
> Python code that's generated by other tools, such as parser generators
> and the like.

I had such a need a few times in the past, and it was tedious having to
do indirections through generated Python for finding the real source as
referenced by comments.

Yet, granted also that the need has not been frequent, for me.

-- 
François Pinard   http://pinard.progiciels-bpi.ca


More information about the Python-Dev mailing list