Steve Pryde <spryd...@gmail.com> 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.

Python certainly only executes the code as it was at the time of initial 
execution, or rather it executes the generated bytecode. I gather therefore 
that python has enough info to display the files and line numbers but not their 
contents (which must be loaded fresh from disk).

As mentioned, if this is the case, I'm happy for this to be closed. Cheers.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35857>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to