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 <rep...@bugs.python.org> <http://bugs.python.org/issue29423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com