> This is unnecessary.
Your change only concerns imports. eval() and compile() cannot be
hooked using your method.
2013/3/22 Brett Cannon <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue17515>
> _______________________________________ |