[issue4892] Sending Connection-objects over multiprocessing connections fails

sbt report at bugs.python.org
Tue Apr 10 15:15:29 CEST 2012


sbt <shibturn at gmail.com> added the comment:

Updated patch which uses ForkingPickler in Connection.send().

Note that connection sharing still has to be enabled using allow_connection_pickling().

Support could be enabled automatically, but that would introduce more circular imports which confuse me.  It might be worthwhile refactoring to eliminate all circular imports.

----------
Added file: http://bugs.python.org/file25167/mp_pickle_conn.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4892>
_______________________________________


More information about the Python-bugs-list mailing list