On Thu, Mar 07, 2002 at 11:16:35AM -0800, Quinn Dunkan wrote: >I propose that errors.AccessError.__init__ be changed to the following: > > def __init__ (self, msg=''): > self.msg = msg or "Access denied" > >When you have 'msg=None', and you do 'raise AccessError', you wind up with >an exception whose __str__ returns None and crashes when you try to print it. Huh? How are you seeing crashes with the current code (which has msg=None instead of "")? None evaluates to false, so the constructor should set self.msg to "Access denied". Can you please provide an example that manifests the bug? --amk