I'm using the multiprocessing module on Python 2.7 on Windows and I have multiple processes putting data on and taking data off of shared queues. I'm subclassing multiprocessing.Process to do this, and passing in queue proxies made by a multiprocessing.Manager() as arguments to __init__. In other answers on SO I've seen people pass this queue proxy into map_async as an argument, but when I try to give it as an argument to the __init__ method I get the error:
TypeError: Pickling an AuthenticationString object is disallowed for security reasons
So I understand that on Windows things you pass to instantiate Process subclasses have to be pickle-able, and that there needs to be an authkey on these shared objects (which prevents pickling). But why can you give that queue proxy to map_async and not a Process subclass? Is there any good way around this besides rewriting my Process subclasses as functions?