|
From: Jens V. <je...@zo...> - 2002-07-25 16:45:37
|
+1 IMHO direct attribute access without going through methods is nasty jens On Thursday, July 25, 2002, at 11:34 , Michael Str=F6der wrote: > HI! > > I'd like to remove the possibility to set/get LDAP options via class=20= > attributes of ldap.LDAPObject instances since it's error-prone and = kludgy=20 > code. > > LDAPObject.set_option() and LDAPObject.get_option() is the complete=20 > solution. > > Although it might break existing code if I remove=20 > LDAPObject.__setattr__() and LDAPObject.__getattr__(). Therefore I'd = like=20 > to ask who is setting LDAP options via class attributes? > > Ciao, Michael. |