[Python-3000] [Python-3000-checkins] r54510 - in python/branches/p3yk/Lib: ConfigParser.py test/test_file.py

Guido van Rossum guido at python.org
Wed Mar 21 23:55:07 CET 2007


On 3/21/07, Collin Winter <collinw at gmail.com> wrote:
> On 3/21/07, brett.cannon <python-3000-checkins at python.org> 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. 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 :-).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list