[pypy-dev] Rollback interpreter state to fork for unittesting

Armin Rigo arigo at tunes.org
Wed Mar 19 09:54:25 CET 2014

Hi Anatoly,

On 19 March 2014 09:47, anatoly techtonik <techtonik at gmail.com> wrote:
>> Unsure what you want to do, but isn't os.fork() the answer to your
>> first question?
> Yes, but on a interpreter level, independent of underlying platform.

What is the motivation for avoiding os.fork()?

It's possible to do something like that in RPython, if you ignore all
the additional complications like tracking raw-memory too; it looks
like an infinite amount of painful work to me, but well, it's not my
time :-)

A bientôt,


More information about the pypy-dev mailing list