This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients eltoder, mark.dickinson, pitrou, rhettinger
Date 2011-03-11.16:38:12
SpamBayes Score 0.00022743377
Marked as misclassified No
Message-id <1299861488.3732.3.camel@localhost.localdomain>
In-reply-to <1299861053.67.0.552825602522.issue11462@psf.upfronthosting.co.za>
Content
> Also, the peephole optimizer was developed before the AST branch was
> added to Python.  Constant folding more properly belongs at the AST
> level, not in the peepholer itself.  Our strategy is to move as much
> as possible into an AST optimizer and to stop building out the
> peephole optimizer.

Who is working on this "strategy"?
Until someone takes it to task to implement the "correct pattern", I
think iterative improvement of the peepholer is a reasonable thing.
History
Date User Action Args
2011-03-11 16:38:13pitrousetrecipients: + pitrou, rhettinger, mark.dickinson, eltoder
2011-03-11 16:38:12pitroulinkissue11462 messages
2011-03-11 16:38:12pitroucreate