sbt <shibt...@gmail.com> added the comment:

There is an undocumented function multiprocessing.allow_connection_pickling() 
whose docstring claims it allows connection and socket objects to be pickled.

The attached patch fixes the multiprocessing.reduction module so that it works 
correctly.  This means that TestPicklingConnections can be reenabled in the 
unit tests.

The patch uses the new socket.share() and socket.fromshare() methods on Windows.

----------
keywords: +patch
Added file: http://bugs.python.org/file25160/mp_pickle_conn.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4892>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to