Diego Mascialino <dmascial...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8087> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com