On Mon, Mar 4, 2013 at 12:14 AM, Fábio Santos <[email protected]> wrote: > Out of an itch to experiment with the innards of Python I've been wanting to > implement a fork() call which works across a network. > > This would also make fork() accessible in windows systems. > > To do this, I would need to pickle (or otherwise serialize) the whole call > stack and send it through a socket.
This is already possible with Stackless pickling, as long as there is no extra C state, and I believe the same version of Python is in use on the other "nodes". It's covered along with a general introduction to STackless in this blog post: http://jessenoller.com/blog/2009/02/23/stackless-you-got-your-coroutines-in-my-subroutines Cheers, Richard. _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
