Paul Moore <p.f.mo...@gmail.com> added the comment: On Sun, 5 Aug 2018 at 18:10, Brett Cannon <rep...@bugs.python.org> wrote:
> 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, e.g. Quixote was > supported because it transpiled to Python source (although Paul is a > co-author on the PEP and could more definitively answer 😄). IOW the APIs > are oriented towards the Python programming language, not the CPython > interpreter. This is why, for instance, I'm suggesting that if a more > general solution is desired to be made official, then trying to force > everything into the current APIs might not turn out well That's how I recall it. The only cases we really considered were Python modules (source code plus pyc) and extension modules (no source, loader should return None). Paul ---------- _______________________________________ 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