2011/12/9 Armin Rigo <[email protected]> > Hi Amaury, > > On Fri, Dec 9, 2011 at 14:36, Amaury Forgeot d'Arc <[email protected]> > wrote: > >> Getting two completely separate interpreters in one process is trivial > >> in PyPy > > > > Well, not so trivial; I played with this idea last evening. > > A few lines in targetpypystandalone.py to install a new objspace, > > and tried to translate... > > No, I meant in this case something else: getting two *different* > interpreters from different sources. Like PyPy and Pyrolog, or like > what you would get if you imported in the same Python both the > "default" and the "py3k" branch (with the proper amount of import > hacks to keep them from conflicting).
I was thinking of two object spaces with different config options, like "config.objspace.std.py3k", if we take the other route and have a single branch to support both versions. -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
