[issue8087] Unupdated source file in traceback

Diego Mascialino report at bugs.python.org
Mon Mar 8 06:29:00 CET 2010


Diego Mascialino <dmascialino at gmail.com> added the comment:

Martin, I am not talking about a loop checking source file changes.

I think the check could be done only when the traceback is printed.

The function PyErr_Display() calls PyTracBack_Print() and so on until _Py_DisplaySourceLine() is called. The latter reads the source file and prints the line. I don't know which is the best way to know if the source file was updated. But i think that it's possible to check it there.

I think this could apply only when using the interactive console.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8087>
_______________________________________


More information about the Python-bugs-list mailing list