[Python-Dev] Backquote deprecation warning

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Nov 24 00:48:48 CET 2007


Christian Heimes wrote:
> Should the node structure gain an additional field to drag the filename
> around?

Why not?

Early on in the design of the Pyrex compiler, I made the decision
that every parse tree node would contain a source filename and
position, down to character resolution. It's paid off enormously,
as I can produce highly pinpointed error messages for just about
anything at any stage of processing.

--
Greg


More information about the Python-Dev mailing list