sizelimit and SIZELIMIT_EXCEEDED
Michael Ströder
michael at stroeder.com
Tue Jan 22 11:11:15 CET 2008
David S. wrote:
> Michael Ströder <michael at ...> writes:
>
>
>> Hmm, the argument 'sizelimit' should be rather used with the async
>> method search_ext(). You can start the search with search_ext() and
>> receive the partial results with result3() until this exception is raised.
>
> Aha, like raising StopIteration in a generator. Thanks.
Almost: But StopIteration indicates the regular end of an iteration
whereas SIZELIMIT_EXCEEDED exception indicates that only partial results
were received.
Ciao, Michael.
More information about the python-ldap
mailing list