This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author spencera
Recipients spencera
Date 2017-02-02.21:00:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486069220.1.0.0155992430092.issue29423@psf.upfronthosting.co.za>
In-reply-to
Content
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", line 241, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/usr/local/lib/python3.6/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: can't pickle _thread.RLock objects

---------------------

No issues in 3.5.x:
0
1
2
3
4
5
6
7
8
9
0
...
History
Date User Action Args
2017-02-02 21:00:20spencerasetrecipients: + spencera
2017-02-02 21:00:20spencerasetmessageid: <1486069220.1.0.0155992430092.issue29423@psf.upfronthosting.co.za>
2017-02-02 21:00:20spenceralinkissue29423 messages
2017-02-02 21:00:20spenceracreate