[issue33318] Move folding tuples of constants into compiler.c from peephole.c

Antoine Pitrou report at bugs.python.org
Fri Apr 20 15:54:44 EDT 2018


Antoine Pitrou <pitrou at free.fr> added the comment:

I'm not convinced by this.  One of the points of separating the optimizer from the compiler is that people wanting to study/extend the compiler don't have to filter through optimization-related routines.  Separating initial code generation from optimization passes is an established practice in compiler design.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33318>
_______________________________________


More information about the Python-bugs-list mailing list