[Python-Dev] elementtree in stdlib
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Apr 9 02:42:25 CEST 2006
Georg Brandl wrote:
> Suppose I wanted to implement that, what would be the best strategy
> to follow:
> - change handling of IMPORT_NAME and IMPORT_FROM in ceval.c
> - emit different bytecodes in compile.c
> - directly create TryExcept AST nodes in ast.c
I'd probably go for the third option. Isn't that the
sort of thing the fancy new ast system is designed for?
--
Greg
More information about the Python-Dev
mailing list