Message334551
> 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. |
|
Date |
User |
Action |
Args |
2019-01-30 10:46:49 | Steve Pryde | set | recipients:
+ Steve Pryde, steven.daprano |
2019-01-30 10:46:47 | Steve Pryde | set | messageid: <1548845207.18.0.569714605353.issue35857@roundup.psfhosted.org> |
2019-01-30 10:46:47 | Steve Pryde | link | issue35857 messages |
2019-01-30 10:46:47 | Steve Pryde | create | |
|