[issue1251748] compiler package: "global a; a=5"

Neil Schemenauer report at bugs.python.org
Tue Mar 25 17:37:57 CET 2008


Neil Schemenauer <nas-python at arctrix.com> added the comment:

On Tue, Mar 25, 2008 at 09:18:38AM +0000, Armin Rigo wrote:
> The situation is that by now PyPy has found many many more bugs in
> trying to use the compiler package to run the whole stdlib and
> real-world applications.  What I can propose is to extract what we have
> got and put it back into CPython's stdlib, keeping the current
> documented API.

I'm not sure it can go back into the stdlib since there doesn't seem
to be enough energy available to keep it up-to-date with the Python
release schedule.  I would like to make it available as an add-on
package.

> This will require a little bit of work (e.g. first
> finishing to add all new 2.5 and 2.6 features into PyPy's compiler)
> but IMHO it's more worthwhile than going through the process of
> rediscovering and fixing all the current bugs one by one.

Indeed it would make no sense to redo that work.  Can the version in
the PyPy tree be used as a direct replacement for the stdlib version
or does it need some changes?  You had mentioned being able to
produce a patch against the stdlib version.  Is that easy or would
it be better just to take the PyPy version and package it up.

  Neil

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1251748>
_____________________________________


More information about the Python-bugs-list mailing list