Author berker.peksag
Recipients John_81, berker.peksag, davin, pitrou
Date 2019-03-31.17:37:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554053830.95.0.648291724341.issue32538@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2019-03-31 17:37:10berker.peksagsetrecipients: + berker.peksag, pitrou, davin, John_81
2019-03-31 17:37:10berker.peksagsetmessageid: <1554053830.95.0.648291724341.issue32538@roundup.psfhosted.org>
2019-03-31 17:37:10berker.peksaglinkissue32538 messages
2019-03-31 17:37:10berker.peksagcreate