-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Description
import ldap.ldapobject
import pickle
lo = ldap.ldapobject.ReconnectLDAPObject('')
pickle.dumps(lo)raises
Traceback (most recent call last):
File "/home/git/python-ldap/p.py", line 5, in <module>
pickle.dumps(lo)
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 880, in __getstate__
state['_last_bind'] = self._last_bind[0].__name__, self._last_bind[1], self._last_bind[2]
~~~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptableMetadata
Metadata
Assignees
Labels
No labels