Re: [Python-ideas] Arguments to exceptions

2017-07-15 Thread Chris Angelico
On Sun, Jul 16, 2017 at 10:12 AM, Jeff Walker wrote: > The first problem is that there is no direct access to the components that > make up the error in some of the standard Python exceptions. > > >>> foo > Traceback (most recent call last): > File "", line 1, in > NameError:

Re: [Python-ideas] Arguments to exceptions

2017-07-15 Thread Jeff Walker
Sorry Stephen (and Steven). I'll do better next time. The way I see it there are two problems, and the second causes the first. The first problem is that there is no direct access to the components that make up the error in some of the standard Python exceptions. >>> foo Traceback (most

Re: [Python-ideas] Arguments to exceptions

2017-07-15 Thread Nick Coghlan
On 16 July 2017 at 10:12, Jeff Walker wrote: > Sorry Stephen (and Steven). I'll do better next time. > > The way I see it there are two problems, and the second causes the first. > > The first problem is that there is no direct access to the components that > make up the error in some of the stan