From: David L. <dav...@cs...> - 2000-07-26 10:12:51
|
On Wed, 26 Jul 2000, Michael Ströder typed thusly: > David Leonard wrote: > > this worries me. should the PARAM_ERROR, NO_SUCH_OBJECT and > > NO_SUCH_ATTRIBUTE > > errors not be mapped into python exceptions in the next release? won't this > > break existing code?? > > I'm making heavy use of e.g. catching ldap.NO_SUCH_OBJECT. ok your code won't break; but those people who noticed that ValueError, AttributeError etc are being thrown and instead use those names will be bitten. > But all exceptions should be derived from ldap.LDAPError or whatever > it's called. thats what i reckon... and i'll change it so, if nobody seriously objects..? d -- David Leonard Dav...@cs... Dept of Comp. Sci. and Elec. Engg _ Room:78-640 Ph:+61 7 336 51187 The University of Queensland |+| http://www.csee.uq.edu.au/~leonard/ QLD 4072 AUSTRALIA ~` '~ E2A24DC6446E5779D7AFC41AA04E6401 Curses! - Mojo Jojo |