All but one of the unit tests for t_cext.py fails in python-ldap 2.4.19. Most of the errors are due to a missing attribute 'result3', if changed to 'result4' all the tests pass. I have included a patch that fixes all the unit tests for t_cext.py. I am running Python 2.7.5 on a RHEL6 system. Below is an example error, one of many:
======================================================================
ERROR: test_abandon (__main__.TestLdapCExtension)
----------------------------------------------------------------------
Traceback (most recent call last):
File "t_cext.py", line 208, in test_abandon
l = self._init()
File "t_cext.py", line 42, in _init
result,pmsg,msgid,ctrls = l.result3(m, _ldap.MSG_ONE, self.timeout)
AttributeError: result3
I have attached a log of all the errors I recieved.
fix will be released with 2.4.26