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 davin
Recipients cxss, davin, serhiy.storchaka, vinay.sajip
Date 2017-01-05.15:56:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483631768.71.0.14461677427.issue29168@psf.upfronthosting.co.za>
In-reply-to
Content
Simon:  You do have a lock object inside the logging handler object.  That is what prevents your pickling of the logging handler object.

The background information Serhiy shared is focused on why pickling a _thread.RLock object is problematic and unsupportable.

I do not know enough to understand how you implemented your code that worked under 3.5 but one of the points made by Serhiy's comments is that your code worked _in spite_ of the fact that you did not have a proper RLock inside your logging handler.  I optimistically believe you can implement what you need to work without needing to pickle a logging handler object.
History
Date User Action Args
2017-01-05 15:56:08davinsetrecipients: + davin, vinay.sajip, serhiy.storchaka, cxss
2017-01-05 15:56:08davinsetmessageid: <1483631768.71.0.14461677427.issue29168@psf.upfronthosting.co.za>
2017-01-05 15:56:08davinlinkissue29168 messages
2017-01-05 15:56:08davincreate