Python & Go

Paul Rubin http
Tue Nov 17 03:20:30 CET 2009

sturlamolden <sturlamolden at> writes:
> A decorator function like @go could just call os.fork and run the
> function in the child. We already have a between-process Queue in
> multiprocessing to use as channels.

Unlike with interthread queues, you have to serialize the values sent
through those multiprocessing channels.  I don't think you can send
functions, generators, file descriptors, etc.

More information about the Python-list mailing list