Better tracebacks for exec and execfile

Stefan Franke franke at ableton.com
Tue Sep 3 17:15:05 EDT 2002


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

>I don't know how to make SyntaxError appear correctly, 

Ah. I didn't understood that until I tried it out. In SyntaxError tracebacks
still "<string>" appears as the filename. This should be considered
a bug in compile(), shoudn't it?





More information about the Python-list mailing list