[Python-3000] sys.exc_info()
Adam Olsen
rhamph at gmail.com
Tue Jun 3 05:16:25 CEST 2008
On Mon, Jun 2, 2008 at 8:56 PM, Fred Drake <fdrake at acm.org> wrote:
> On May 31, 2008, at 6:42 PM, Tim Delaney wrote:
>>
>> This reminds me of something I've thought a few times - maybe the tuple
>> returned from sys.exc_info() should be a named tuple.
>
> +1
It should be replaced with a function that returns only the value -
type and traceback are both redundant now. I don't think anything's
been proposed yet though.
--
Adam Olsen, aka Rhamphoryncus
More information about the Python-3000
mailing list