[Python-ideas] An error in multiprocessing on MacOSX?

Richard Oudkerk shibturn at gmail.com
Tue Nov 27 18:44:51 CET 2012

On 27/11/2012 5:03pm, Sturla Molden wrote:
> I.e. what I would like to see is an advanced queue that can be used to
> pass files, sockets, locks, and other objects associated with a handle.
> That is, when a "special object" on the queue is deserialized
> (unpickled) by the receiver, it sends a request back to the sender for
> handle duplication. One obvious use case would be a "thread pool" design
> for a server app using processes instead of threads.

Socket pickling is already supported in 3.3.  Adding the same support 
for file objects would be easy enough.

But I don't see a sensible way to support general pickling of lock 
objects on Unix.  So I don't much like the idea of adding support only 
for Windows.


More information about the Python-ideas mailing list