[issue17515] Add sys.setasthook() to allow to use a custom AST optimizer

Brett Cannon report at bugs.python.org
Fri Mar 22 16:17:43 CET 2013


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 at bugs.python.org>
<http://bugs.python.org/issue17515>
_______________________________________


More information about the Python-bugs-list mailing list