[issue29423] using concurrent.futures.ProcessPoolExecutor in class giving 'TypeError: can't pickle _thread.RLock objects' in 3.6, but not 3.5

2017-02-02 Thread spencera
New submission from spencera: I'm unable to use concurrent.futures.ProcessPoolExecutor within a class in 3.6 the way I can in 3.5.x. I get the following in 3.6 (python3.6 test.py): Traceback (most recent call last): File "/usr/local/lib/python3.6/multiprocessing/queues.py"

[issue29423] using concurrent.futures.ProcessPoolExecutor in class giving 'TypeError: can't pickle _thread.RLock objects' in 3.6, but not 3.5

2017-02-02 Thread spencera
spencera added the comment: Interesting. So, out of curiosity, what has changed from 3.5.2 to 3.6.0 that causes this new behavior? Was an instance associated with an instance method that was passed to submit not implicitly pickled before 3.6.0? Is it from the changes to the pickle module in