Re: Multiprocessing queue sharing and python3.8

2020-04-06 Thread Israel Brewster
error text seems to be part > of the Pool implementation, which I'm not as familiar with enough to know the > best way to handle it. (Probably something using the "initializer" and > "initargs" arguments for Pool)(maybe) > > > > -Original Me

Re: Multiprocessing queue sharing and python3.8

2020-04-06 Thread Israel Brewster
145 > > -Original Message- > From: David Raymond > Sent: Monday, April 6, 2020 4:19 PM > To: python-list@python.org > Subject: RE: Multiprocessing queue sharing and python3.8 > > Attempting reply as much for my own understanding. > > Are you on Mac? I think

RE: Multiprocessing queue sharing and python3.8

2020-04-06 Thread David Raymond
= mp.Pool(initializer = pool_init, initargs = (mp_comm_queue,)) ... -Original Message- From: David Raymond Sent: Monday, April 6, 2020 4:19 PM To: python-list@python.org Subject: RE: Multiprocessing queue sharing and python3.8 Attempting reply as much for my own understanding. Are you on

RE: Multiprocessing queue sharing and python3.8

2020-04-06 Thread David Raymond
quot;initargs" arguments for Pool)(maybe) -----Original Message----- From: Python-list On Behalf Of Israel Brewster Sent: Monday, April 6, 2020 1:24 PM To: Python Subject: Multiprocessing queue sharing and python3.8 Under python 3.7 (and all previous versions I have used), the following code

Multiprocessing queue sharing and python3.8

2020-04-06 Thread Israel Brewster
Under python 3.7 (and all previous versions I have used), the following code works properly, and produces the expected output: import multiprocessing as mp mp_comm_queue = None #Will be initalized in the main function mp_comm_queue2=mp.Queue() #Test pre-initalized as well def some_complex_funct