Better tracebacks for exec and execfile

Stefan Franke franke at
Tue Sep 3 22:52:20 CEST 2002

On 03 Sep 2002 19:12:21 +0200, "Erwin S. Andreasen" <erwin at> wrote:

>compile won't let you specify a start line number: for that I simply
>added "\n" * start_line to the start of the evaluated string :)

Now this is clever! And thought much too straight-forward
to have it figured out by myself <grin>.


More information about the Python-list mailing list