[Python-Dev] Exception masking/chaining
Aahz
aahz@pythoncraft.com
Thu, 12 Jun 2003 07:31:54 -0400
On Thu, Jun 12, 2003, Walter D=F6rwald wrote:
>
> So maybe the plan should look somethink like this:
>=20
> 1. Deprecate string exceptions.
>=20
> 2. Make Exception a new-style class.
>=20
> 3. Require exceptions to be derived from Exception.
>=20
> 4. Make the traceback an attribute of the exception object.
You've got point 2 too early; it needs to go after point 3 and posibly
after point 4.
--=20
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.=
com/
"If you don't know what your program is supposed to do, you'd better not
start writing it." --Dijkstra