ldap.set_option() ready

Michael Ströder michael at stroeder.com
Tue Nov 13 00:25:57 CET 2001


Jacek Konieczny wrote:
> 
> I will also make ldap.get_option() function and get_option/set_option
> methods of LDAPObject.

Shouldn't the LDAPObject-related options be implemented by
__getattr__() and __setattr__()? I have no personal preference but
this is how it's done today (e.g. "version" etc.) and it's very
Pythonic.

Ciao, Michael.




More information about the python-ldap mailing list