On 3/21/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On 3/21/07, Collin Winter <[EMAIL PROTECTED]> wrote:
> > On 3/21/07, brett.cannon <[email protected]> wrote:
> > > When removing indexing/slicing on exceptions some places were changed
> > > inappropriately from ``e[0]`` to ``e.message`` instead of ``e.args[0]``.  
> > > The
> > > reason it needs to be the last option is the dichotomy of 'message' and 
> > > 'args':
> > > 'message' can be the empty string but args[0] can have a value if more 
> > > than one
> > > argument was passed.
> >
> > So e.args is going to stick around in 3.0?
>
> I think so.

I just posted on my blog about this.  I am curious to see what the
general public think, but I suspect it will stay as well.  I was
cranky at the sprint because of my 'args' removal.  Don't need to make
more people cranky.

> e.message OTOH I think we can kill (perhaps deprecate it
> in 2.6; it was added in 2.5, this may be a record :-).

Should we just consider this a PDFL pronouncement, or should we more
formally run this past python-dev?

-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