[issue32538] Multiprocessing Manager on 3D list - no change of the list possible

2019-03-31 Thread Berker Peksag
Change by Berker Peksag : -- components: +Library (Lib) -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue32538] Multiprocessing Manager on 3D list - no change of the list possible

2019-03-31 Thread Berker Peksag
Berker Peksag 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(['', '', '', '', '', '', '', '', '', '', '', ''])])])

[issue32538] Multiprocessing Manager on 3D list - no change of the list possible

2018-01-12 Thread Johannes
New submission from Johannes : I have the following code, which works without multiprocessing: data=[[['','','','','','','','','','','','']]] data[0][0][0] = 5 data[0][0][1] = "5" # data in the array is mixed with float and str print(data) #=> [[[5, '5', '', '', '', '', '', '', '', '', '', '']]