Skip to content

Fold ldap.resiter.ResultProcessor into LDAPObject #204

Open
@tiran

Description

@tiran

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions