Message286825
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
... |
|
Date |
User |
Action |
Args |
2017-02-02 21:00:20 | spencera | set | recipients:
+ spencera |
2017-02-02 21:00:20 | spencera | set | messageid: <1486069220.1.0.0155992430092.issue29423@psf.upfronthosting.co.za> |
2017-02-02 21:00:20 | spencera | link | issue29423 messages |
2017-02-02 21:00:20 | spencera | create | |
|