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 jdemeyer
Recipients brett.cannon, eric.snow, erik.bray, jdemeyer, ncoghlan, paul.moore, petr.viktorin, scoder, sth
Date 2018-08-05.17:53:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533491597.02.0.56676864532.issue32797@psf.upfronthosting.co.za>
In-reply-to
Content
> One other thing I will say is that the PEP 302 APIs were seemingly designed for working with Python source and were not necessarily oriented towards alternative code representations that were executed

That's also my impression. I'm perfectly fine with saying that the get_source() method defined in PEP 302 only applies to Python sources.

That, together with the fact that we are really looking for *filenames* not *modules* is why the fix should involve the linecache module and not PEP 302. In https://bugs.python.org/issue32797#msg323106 Nick seemed to agree with that.
History
Date User Action Args
2018-08-05 17:53:17jdemeyersetrecipients: + jdemeyer, brett.cannon, paul.moore, ncoghlan, scoder, petr.viktorin, erik.bray, eric.snow, sth
2018-08-05 17:53:17jdemeyersetmessageid: <1533491597.02.0.56676864532.issue32797@psf.upfronthosting.co.za>
2018-08-05 17:53:17jdemeyerlinkissue32797 messages
2018-08-05 17:53:16jdemeyercreate