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

R. David Murray report at bugs.python.org
Thu Feb 2 16:39:39 EST 2017


R. David Murray added the comment:

The fact that RLock's *appeared* to be picklable was a bug in previous versions of python (see issue 22995).

If you had code that worked before actually using the locks then perhaps there is a deeper error, though, so I'm nosying Serhiy to take a look at this (I don't use concurrent.futures so I'm not qualified to evaluate your example for validity).

----------
assignee:  -> terry.reedy
nosy: +r.david.murray, serhiy.storchaka, terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29423>
_______________________________________


More information about the Python-bugs-list mailing list