[pypy-dev] Python3, Python2.7 - fast-forward (was Re: Question on the future of RPython)

holger krekel holger at merlinux.eu
Thu Sep 30 09:37:46 CEST 2010


Hi Terence, all,

On Wed, Sep 29, 2010 at 13:40 -0700, Terrence Cole wrote:
> So what I'm getting at is: what is the pypy story for python3 support?
> I haven't seen anything on pypy-dev, or in my occasional looks at the
> repository, to suggest that it is being worked on but I'm sure you have
> a plan of some sort.  I'm willing to help out with python3 support, if I
> can do so without getting in anyone's way.  It seems like the sort of
> thing that will be disruptive, however, so I have been leery of jumping
> in, considering how little time I have to contribute, at the moment.

In fact, there has been work from Benjamin Peterson and is some 
work from Amaury and Alex to complete the

    http://codespeak.net/svn/pypy/branch/fast-forward/

branch.  It aims at offering Python2.7 compatibility.  This is a
good intermediate step to jump to Python3 at some point.  Most
PyPy core devs are focusing on JIT related tasks so this is 
a good place to help out in general.  

If you like to help you can drop by at #pypy on freenode and/or maybe
some of the involved persons can point to some tasks here. 

cheers,
holger

> In my mind, the python3 picture is something like:
> At the compilation level, it's easy enough to dump Grammar3.2 in
> pypy/interpreter/pyparser/data and to modify astbuilder for python3 --
> I'll backport the changes I made, if you want.  Interpreter support for
> the new language features will be harder, but that's probably already
> done since 2.7 is almost working.  The only potential problems I see are
> the big string/unicode switch and the management of the fairly large
> changes to astbuilder -- I'm sure you want to continue supporting
> python2 into the future.  I don't know how much the bytecode changed
> between 2 and 3, so I'm not sure if there are jit issues to worry about.
> Am I missing anything big?
> 
> 
> -Terrence
> 
> 
> _______________________________________________
> pypy-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/pypy-dev
> 

-- 



More information about the Pypy-dev mailing list