Problem with Unittest:

Terry Reedy tjreedy at udel.edu
Tue May 13 21:30:08 EDT 2003


"Steven Taschuk" <staschuk at telusplanet.net> wrote in message
news:mailman.1052864808.30481.python-list at python.org...
> Quoth Terry Reedy:
>   [...]
> > Perhaps I mixed what I read with what I thought (and still think)
> > should also be done.  IE, I find it a bit confusing that one can
> > create an exception instance either directly with
> > exceptionclass(initarg) or indirectly with exceptionclass,
initarg,
> > which latter gets translated to the former.  [...]
>
> I entirely agree.
>
> (And your reasons are in my draft PEP.  Stay tuned!)

Thinking a bit more, I am sure there is another possible deprecation
that *has* been discussed -- that of exception classes that do not
inheret from Exception or an existing subclass thereof.

TJR








More information about the Python-list mailing list