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 vinay.sajip
Recipients cxss, davin, vinay.sajip
Date 2017-01-05.14:59:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483628383.8.0.305720288341.issue29168@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-05 14:59:43vinay.sajipsetrecipients: + vinay.sajip, davin, cxss
2017-01-05 14:59:43vinay.sajipsetmessageid: <1483628383.8.0.305720288341.issue29168@psf.upfronthosting.co.za>
2017-01-05 14:59:43vinay.sajiplinkissue29168 messages
2017-01-05 14:59:43vinay.sajipcreate