Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48649 > unrolled thread

multiprocessing pipes with custom pickler

Started byskunkwerk <skunkwerk@gmail.com>
First post2013-06-18 10:47 -0700
Last post2013-06-18 10:47 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  multiprocessing pipes with custom pickler skunkwerk <skunkwerk@gmail.com> - 2013-06-18 10:47 -0700

#48649 — multiprocessing pipes with custom pickler

Fromskunkwerk <skunkwerk@gmail.com>
Date2013-06-18 10:47 -0700
Subjectmultiprocessing pipes with custom pickler
Message-ID<39c00c39-e3a4-405b-98f5-4a67300b3ced@googlegroups.com>
Hi,
   I need inter-process communication in Python, and was looking at the documentation here:
http://docs.python.org/2/library/multiprocessing.html

I am using a custom pickler, though, in order to deal with some objects that are not serialize-able through the built-in pickler.  Is there any way to tell the pipe's send method to use my pickler?

I could also just send my already-pickled binary data using the existing send method, but pickling/unpickling twice seems like a hack.

Maybe the send_bytes method would be the best option, if it doesn't pickle the data?

thanks for the help,
imran

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web