[issue44091] traceback & inspect modules should verify that the .py source file matches the one that the running process is using

Irit Katriel report at bugs.python.org
Wed Sep 1 17:06:16 EDT 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

It's not only a software updates issue - these kinds of problems show up for developers when they change the code on disk while a program is running and some traceback or pdb show code from the disk which is confusing.

I also saw an issue about changing directory in pdb and picking up a module of the same name in a different path (because the filename is relative).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44091>
_______________________________________


More information about the Python-bugs-list mailing list