|
From: Hans A. <Han...@Ph...> - 2002-07-31 14:23:40
|
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 -- Han...@Ph... |