[prev in list] [next in list] [prev in thread] [next in thread]
List: python-dev
Subject: Re: [Python-Dev] PEP 344: Exception Chaining and Embedded Tracebacks
From: Michael Hudson <mwh () python ! net>
Date: 2005-05-20 12:05:13
Message-ID: 2m3bsi2jd2.fsf () starship ! python ! net
[Download RAW message or body]
Walter Dörwald <walter@livinglogic.de> writes:
> Ka-Ping Yee wrote:
>
>> [...]
>> (a) ban string exceptions
>> (b) require all exceptions to derive from Exception
>> (c) ban bare "except:"
>> (d) eliminate sys.exc_*
>
> I think somewhere in this list should be:
>
> (?) Remove string exceptions from the Python stdlib
I think this is done, more or less. There's one in test_descr, I
think (probably testing that you can't raise str-subclasses but can
raise strs).
> and perhaps:
>
> (?) Make Exception a new style class
I have a patch for this on SF, of course.
Cheers,
mwh
--
112. Computer Science is embarrassed by the computer.
-- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic