[Python-Dev] Backquote deprecation warning

Christian Heimes lists at cheimes.de
Fri Nov 23 15:10:55 CET 2007


I'm having a bit of a trouble getting the deprecation warning for
backquotes `repr` right. Neither the ast_for_* functions in Python/ast.c
nor the node structures have access to the filename.

Should the node structure gain an additional field to drag the filename
around? Or can we simply life with the fact that the user won't get a
filename in the deprecation warning?


More information about the Python-Dev mailing list