Author Steve Pryde
Recipients Steve Pryde, steven.daprano
Date 2019-01-30.10:46:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548845207.18.0.569714605353.issue35857@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2019-01-30 10:46:49Steve Prydesetrecipients: + Steve Pryde, steven.daprano
2019-01-30 10:46:47Steve Prydesetmessageid: <1548845207.18.0.569714605353.issue35857@roundup.psfhosted.org>
2019-01-30 10:46:47Steve Prydelinkissue35857 messages
2019-01-30 10:46:47Steve Prydecreate