[issue22600] In Multiprocessing Queue() doesn't work with list : __.put(list) != __.get()

2014-11-13 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: "solution.put(c)" takes a *reference* to the list c. And then the test() function continues running! By the time the list is serialized and sent back to the main process (in another thread), the test() function has already changed it... As you noticed, y

[issue22600] In Multiprocessing Queue() doesn't work with list : __.put(list) != __.get()

2014-10-10 Thread CALMET
New submission from CALMET: Hello, I have to find the right order of a list, for example try = [0,1,2,3,4,5,6,7,8,9] try = [0,1,2,3,4,5,6,7,9,8] try = [0,1,2,3,4,5,6,8,7,9] and so on... in this example there are factorial(10) = 3,6 million possible order to test. The results with be all the list