David S. wrote:
> Michael Ströder <[EMAIL PROTECTED]> 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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to