On Sat, Aug 11, 2012 at 6:03 PM, Brett Cannon <br...@python.org> wrote: > It would also be very easy to expand importlib.abc.SourceLoader to add a > method which is called with source and returns the bytecode to be written > out
Yes, please. Not having to hack around this would be nice. > which people could override with AST optimizations before sending the > bytecode back. That way we don't have to get into the whole business of AST > transformations if we don't want to (although, as Victor pointed out, there > are some people who do want this formally supported). Also cool. -eric _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com