ldap.schema: str2objectclass() fails

Hans Aschauer Hans.Aschauer at Physik.uni-muenchen.de
Wed Jul 31 16:23:33 CEST 2002


On Dienstag, 30. Juli 2002 22:20, Michael Ströder wrote:
> Michael Ströder wrote:
> > Frankly I'd prefer to check the numerical error code in
> > ldap.schema.str2objectclass() and the other wrapper functions and
> > raise Python-declared exceptions instead of create the exception
> > instances in Modules/schema.c.
>
> How about this approach assuming _ldap.str2objectclass() only
> returns a error code as integer in case of an error?

[...]

This a really easy approach to the problem. Should I commit that patch?

Hans

-- 
Hans.Aschauer at Physik.uni-muenchen.de






More information about the python-ldap mailing list