Re: [Python-Dev] astoptimizer: static optimizer working on the AST

2013-03-27 Thread Stefan Behnel
Victor Stinner, 26.03.2013 22:56: > * what should be the name of "pyc" files? > * how to handle different configuration of astoptimizer: generate > different "pyc" files? You could use (a part of) a crypto hash of the serialised options as part of the filename. One drawback of a .pyc duplication

[Python-Dev] astoptimizer: static optimizer working on the AST

2013-03-26 Thread Victor Stinner
Hi, I made progress since last August on my astoptimizer project (read the Changelog). Previous email thread: http://mail.python.org/pipermail/python-dev/2012-August/121286.html The astoptimizer project is an optimizer rewriting Python AST. It executes as much code as possible during the compilat