Jeroen Demeyer <j.deme...@ugent.be> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32797>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to