> Guido has mentioned [1] that since exceptions will be growing a
> __traceback__ attribute in Python 3, it should be possible to remove
> sys.exc_info().
sys.exc_info() is also useful for returning the exception itself, not only
the traceback. The traceback and logger modules both take advantage
On 1/21/07, Tony Lownds <[EMAIL PROTECTED]> wrote:
>
> On Jan 21, 2007, at 10:57 AM, Brett Cannon wrote:
>
> > On 1/21/07, Tony Lownds <[EMAIL PROTECTED]> wrote:
> >>
> >> On Jan 20, 2007, at 9:46 PM, Collin Winter wrote:
> >>
> >> > Guido has mentioned [1] that since exceptions will be growing a
>
Tony Lownds wrote:
> http://mail.python.org/pipermail/python-dev/2007-January/070665.html
>
> What's the cost of keeping sys.exc_info() on 3.0? If that cost is a
> hindrance on 3.0, then
> fine, sys.exc_info() and the ability for module authors to use a
> single codebase on 2.x and
> 3.0 can
On 21/01/2007 20.50, Tony Lownds wrote:
> What's the cost of keeping sys.exc_info() on 3.0? If that cost is a
> hindrance on 3.0, then
> fine, sys.exc_info() and the ability for module authors to use a
> single codebase on 2.x and
> 3.0 can be given up.
It's been stated many times that making
On Jan 21, 2007, at 10:57 AM, Brett Cannon wrote:
> On 1/21/07, Tony Lownds <[EMAIL PROTECTED]> wrote:
>>
>> On Jan 20, 2007, at 9:46 PM, Collin Winter wrote:
>>
>> > Guido has mentioned [1] that since exceptions will be growing a
>> > __traceback__ attribute in Python 3, it should be possible to
On 1/20/07, Collin Winter <[EMAIL PROTECTED]> wrote:
> Guido has mentioned [1] that since exceptions will be growing a
> __traceback__ attribute in Python 3, it should be possible to remove
> sys.exc_info(). In addition, PEP 3100 mentions the removal of
> sys.exc_{type,value,traceback}. With that i
On 1/21/07, Tony Lownds <[EMAIL PROTECTED]> wrote:
>
> On Jan 20, 2007, at 9:46 PM, Collin Winter wrote:
>
> > Guido has mentioned [1] that since exceptions will be growing a
> > __traceback__ attribute in Python 3, it should be possible to remove
> > sys.exc_info().
>
> I hope that doesn't happen.
On Jan 20, 2007, at 9:46 PM, Collin Winter wrote:
> Guido has mentioned [1] that since exceptions will be growing a
> __traceback__ attribute in Python 3, it should be possible to remove
> sys.exc_info().
I hope that doesn't happen. sys.exc_info() is the only way to write code
using exception va