[issue31300] Traceback prints different code than the running module

2017-08-29 Thread Aigars Mahinovs
New submission from Aigars Mahinovs: If you run a longer running Python program, then change the Python module that it loaded on disk and then cause a traceback to happen in the code in that module, then the traceback may be nonsensical as it will reference line numbers from the module

[issue8087] Unupdated source file in traceback

2017-08-29 Thread Aigars Mahinovs
Aigars Mahinovs added the comment: As a point of update - this is a problem that can make debugging more difficult for people running web services or other server processes that are expected to stay alive for a long time. It is often undesirable to force a server restart or reload every time