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

Armin Rigo arigo at tunes.org
Wed Mar 19 09:41:33 CET 2014

Hi Anatoly,

On 18 March 2014 11:43, anatoly techtonik <techtonik at gmail.com> wrote:
> I wonder if it possible to discard run-time changes to interpreter
> state and get back to some point in the past? One of the applications
> is forking to speed up unit tests - for it after interpreter is
> initialized and loaded unittest imports.

Unsure what you want to do, but isn't os.fork() the answer to your
first question?


More information about the pypy-dev mailing list