Setting options via class attributes of LDAPObject

Michael Ströder michael at stroeder.com
Thu Jul 25 17:34:43 CEST 2002


HI!

I'd like to remove the possibility to set/get LDAP options via 
class attributes of ldap.LDAPObject instances since it's 
error-prone and kludgy code.

LDAPObject.set_option() and LDAPObject.get_option() is the 
complete solution.

Although it might break existing code if I remove 
LDAPObject.__setattr__() and LDAPObject.__getattr__(). Therefore 
I'd like to ask who is setting LDAP options via class attributes?

Ciao, Michael.






More information about the python-ldap mailing list