From: David L. <dav...@cs...> - 2000-07-27 01:30:11
|
On Wed, 26 Jul 2000, Michael Ströder typed thusly: > > > thats what i reckon... and i'll change it so, if nobody seriously > > > objects..? > > ignore my insane ravings. all exceptions are derived from a base exception > > class and seem to have been for a couple of versions. > > I'm trying to catch a ldap.error base class (using 1.9-alpha) but > did not succeed. Did I do something wrong? i don't know... it should work. I'm using PyErr_NewException() to create new exception classes... will try to test here > Hmm, it would make sense to add a constant ldap.moduleversion > symbol... its already there, as __version__ :) >>> import _ldap >>> _ldap.__version__ '1.9' 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 |