Xavier de Gaye added the comment:

This is a simple code object compiled from a source (the string), a module is 
quite different and more complex. The patch uses a fake module Loader to use 
linecache, there is no gain in going any further and pulling from the importlib 
machinery, I think.

----------

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

Reply via email to