Neal Becker <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> Alex Popescu wrote: > >> Neal Becker <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: >> > > [snip...] > >>> >> >> You can pass to the exception: >> a) a string (it will become the message) >> b) a tuple of values (can it be a list also?) >> >> In your case there is no message, no values so args is NoneType. >> > Yes, args is None. So the assignment: > self.args = args > > should set self.args to None. Nothing wrong there, and what has this > got to do with NoneType being iterable? > args are used to generate the traceback when a message was not provided. ./alex -- .w( the_mindstorm )p. -- http://mail.python.org/mailman/listinfo/python-list