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 Aigars Mahinovs
Recipients Aigars Mahinovs
Date 2017-08-29.11:03:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504004611.56.0.361089712755.issue31300@psf.upfronthosting.co.za>
In-reply-to
Content
If you run a longer running Python program, then change the Python module that it loaded on disk and then cause a traceback to happen in the code in that module, then the traceback may be nonsensical as it will reference line numbers from the module in memory, but print code from the same line numbers from the file on disk, even if they are different.

In any case there should be a prominent warning on traceback if the module in memory does not match the module on disk, but ideally the traceback print should show the code in memory - the actual code that caused the problem.
History
Date User Action Args
2017-08-29 11:03:31Aigars Mahinovssetrecipients: + Aigars Mahinovs
2017-08-29 11:03:31Aigars Mahinovssetmessageid: <1504004611.56.0.361089712755.issue31300@psf.upfronthosting.co.za>
2017-08-29 11:03:31Aigars Mahinovslinkissue31300 messages
2017-08-29 11:03:31Aigars Mahinovscreate