This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
> 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:49Steve Prydesetrecipients: + Steve Pryde, steven.daprano
2019-01-30 10:46:47Steve Prydesetmessageid: <>
2019-01-30 10:46:47Steve Prydelinkissue35857 messages
2019-01-30 10:46:47Steve Prydecreate