Open
Description
The ResultProcessor
class provides just provides allresults
method, https://www.python-ldap.org/en/latest/reference/ldap-resiter.html
There is no point to have the method in a separate module and mixin class. I can only assume, that ResultProcessor
was added to keep python-ldap compatible with Python versions, that don't have the yield
statement. Since python-ldap requires Python 2.7+, the method can be added to LDAPObject
.
The implementation should also be turned into a while True
/ raise StopIteration
construct.