How to get msgid from ldap.result() call?
Michael Ströder
michael at stroeder.com
Tue May 4 20:12:25 CEST 2004
Ken Key wrote:
>
> I've attached the diff below to the change I was testing in
> Modules/LDAPObject.c.
Thanks a lot.
> It is not a complete fix, as I still
> need to go through the rest of the code to change the result()
> return handling to deal with the 3 element tuple.
> [..]
> I'll work up a more complete patch in a couple of days.
Don't worry. I'll work that out.
> Honestly,
> I half expected this idea to be rejected. Won't changing this
> return value break any 3rd party code that uses ldap.result()
> when they crack out the elements of the return tuple?
I will probably preserve result() as is and provide a second method
result2() or similar with class ldap.ldapobject.LDAPObject which returns the
complete 3-tuple.
Ciao, Michael.
More information about the python-ldap
mailing list