STINNER Victor added the comment: > This is unnecessary.
Your change only concerns imports. eval() and compile() cannot be hooked using your method. 2013/3/22 Brett Cannon <rep...@bugs.python.org>: > > Brett Cannon added the comment: > > This is unnecessary. I added the source_to_code() method > (http://docs.python.org/3.4/library/importlib.html#importlib.abc.SourceLoader.source_to_code) > to loaders to explicitly handle this case. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue17515> > _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com