On Wed, 2005-08-03 at 11:25 +0200, Dirk Meyer wrote: > I saw something in the changelog. What did you do?
I added an "exception" signal to the notifier classes. If there are handlers attached to the signal, then exceptions will get caught and passed to the handler. If any of the handlers return True then the notifier object (Timer, Socket, whatever) is not removed from the notifier, otherwise it is. > I guess exceptions are a bug in programming, so I don't see a reason > why the app should not crash with the exception. Not really. Exceptions are error conditions, not bugs. For example, when you open a file and the file is on an NFS mount that's having problems, you'll get an IOError exception. You need to be able to handle these things, not just crash. Jason.
signature.asc
Description: This is a digitally signed message part
