[issue35857] Stacktrace shows lines from updated file on disk, not code actually running

2019-01-30 Thread Steve Pryde
Steve Pryde added the comment: > How is Python supposed to do that without making a copy of every module and > script it runs just in case it gets modified? Aha, I suspected this might be the reason. Feel free to close this issue if there's nothing else to be said here. Pytho

[issue35857] Stacktrace shows lines from updated file on disk, not code actually running

2019-01-29 Thread Steve Pryde
New submission from Steve Pryde : When python prints or returns a stacktrace, it displays the appropriate line from the *current file on disk*, which may have changed since the program was run. It should instead show the lines from the file as it was when the code was executed. Steps to