[Python-Dev] Backquote deprecation warning (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Nov 24 00:48:48 CET 2007
- Previous message: [Python-Dev] Backquote deprecation warning
- Next message: [Python-Dev] Backquote deprecation warning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Backquote deprecation warning
- Next message: [Python-Dev] Backquote deprecation warning
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]