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. sys.exc_info() is the only way to write code
> using exception values that will run on both 2.5 and 3.0.
>
> except Exception:
>    e = sys.exc_info()[1]
>

As has been stated on python-dev, 3.0 will not be hindered by
backwards-compatibility.  2.6 is going to be the version that has both
2.x and 3.0 features to allow for transitioning.

-Brett
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to