Menu

#64 ReconnectLDAPObject is not actually picklabe

None
closed-fixed
None
4
2014-11-23
2014-09-26
No

The documentation states that the ReconnectLDAPObject is picklable, and it implements __getstate__ and __setstate__ methods to achieve this. However, the object isn't actually picklable, because it fails to remove/recreate the _reconnect_lock attribute at pickle/unpickle time.

I've included a patch with the (very simple) fix.

1 Attachments

Discussion

  • Michael Ströder

    • status: open --> closed-fixed
    • assigned_to: Michael Ströder
    • Group: -->
     
  • Michael Ströder

    Committed your patch. Please test.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.