Vinay Sajip added the comment: It may be that _thread.RLock objects were pickleable before 3.6 but aren't now, and if so, then this is unrelated to logging except by coincidence.
Why do you want to pickle the *handler*? It's not especially designed for sending over the wire, and that's not supported - so it's not a bug. If that code worked in Python < 3.6, that's just by luck. Pickling of LogRecords should work. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29168> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com