[pypy-dev] Rollback interpreter state to fork for unittesting
techtonik at gmail.com
Wed Mar 19 09:47:38 CET 2014
On Wed, Mar 19, 2014 at 11:41 AM, Armin Rigo <arigo at tunes.org> wrote:
> 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?
Yes, but on a interpreter level, independent of underlying platform.
More information about the pypy-dev