John Salerno wrote: > MyError? The sample in the book shows "Got hello world", because hello > is the error name and world is the extra data. But mine doesn't seem to > work that way. (They are also using a string exception in the book, > instead of a class.)
My mistake. In the book the exception is: MyError = 'hello' and the extra data is 'world' -- http://mail.python.org/mailman/listinfo/python-list