Berker Peksag <berker.pek...@gmail.com> added the comment:

I'm a bit late to reply, but I think you are using the API wrong. Please try 
the following snippet:

from multiprocessing import Manager

manager = Manager()

data = manager.list([manager.list([manager.list(['', '', '', '', '', '', '', 
'', '', '', '', ''])])])

print(data[0][0])
print(data[0][0][0])
print(data[0][0][1])

data[0][0][0] = 5
data[0][0][1] = '5'

print(data[0][0])
print(data[0][0][0])
print(data[0][0][1])

Output:

$ ./python.exe example.py
['', '', '', '', '', '', '', '', '', '', '', '']


[5, '5', '', '', '', '', '', '', '', '', '', '']
5
5

You can also take a look at the tests in the original commit that implemented 
this feature:

https://github.com/python/cpython/commit/86a76684269f940a20366cb42668f1acb0982dca

----------
nosy: +berker.peksag, davin, pitrou
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to