[issue43191] Shared Memory for array of object

Hannah Busshoff report at bugs.python.org
Wed Feb 10 09:48:12 EST 2021


Hannah Busshoff <hannahbusshoff at gmail.com> added the comment:

Hi Eric,

Thanks for your quick reply. The numpy operation was only an attempt to serialize the nested list and make it available as a shared memory object.  As is written in the documentation, the SharedList() does not take nested lists as an input. 

I posed the question as well on Stackoverflow with a slightly longer example. Feel free to check it out: https://stackoverflow.com/questions/66138235/multiprocessing-with-array-of-objects-in-shared-memory. 

Thanks again. 

Cheers, 

Hannah

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43191>
_______________________________________


More information about the Python-bugs-list mailing list