PEP 511: mention also PyCC by Kevin Conway

This commit is contained in:
Victor Stinner 2016-01-27 17:37:44 +01:00
parent f97c710fe7
commit 313f3f46f6
1 changed files with 15 additions and 12 deletions

View File

@ -524,11 +524,16 @@ Prior Art
AST optimizers AST optimizers
-------------- --------------
In 2011, Eugene Toder proposed to rewrite some peephole optimizations in The Issue #17515 `"Add sys.setasthook() to allow to use a custom AST"
a new AST optimizer: issue #11549, `Build-out an AST optimizer, moving optimizer <https://bugs.python.org/issue17515>`_ was a first attempt of
some functionality out of the peephole optimizer API for code transformers, but specific to AST.
<https://bugs.python.org/issue11549>`_. The patch adds ``ast.Lit`` (it
was proposed to rename it to ``ast.Literal``). In 2015, Victor Stinner wrote the `fatoptimizer
<http://fatoptimizer.readthedocs.org/>`_ project, an AST optimizer
specializing functions using guards.
In 2014, Kevin Conway created the `PyCC <http://pycc.readthedocs.org/>`_
optimizer.
In 2012, Victor Stinner wrote the `astoptimizer In 2012, Victor Stinner wrote the `astoptimizer
<https://bitbucket.org/haypo/astoptimizer/>`_ project, an AST optimizer <https://bitbucket.org/haypo/astoptimizer/>`_ project, an AST optimizer
@ -536,13 +541,11 @@ implementing various optimizations. Most interesting optimizations break
the Python semantics since no guard is used to disable optimization if the Python semantics since no guard is used to disable optimization if
something changes. something changes.
In 2015, Victor Stinner wrote the `fatoptimizer In 2011, Eugene Toder proposed to rewrite some peephole optimizations in
<http://fatoptimizer.readthedocs.org/>`_ project, an AST optimizer a new AST optimizer: issue #11549, `Build-out an AST optimizer, moving
specializing functions using guards. some functionality out of the peephole optimizer
<https://bugs.python.org/issue11549>`_. The patch adds ``ast.Lit`` (it
The Issue #17515 `"Add sys.setasthook() to allow to use a custom AST" was proposed to rename it to ``ast.Literal``).
optimizer <https://bugs.python.org/issue17515>`_ was a first attempt of
API for code transformers, but specific to AST.
Python Preprocessors Python Preprocessors