[Python-Dev] Re: changing AttributeError to TypeError

Guido van Rossum guido@digicool.com
Mon, 09 Jul 2001 09:00:11 -0400


> so "an operation" in your original question is limited to operations that
> may have resulted in an AttributeError or a TypeError depending on the
> type, and the change means that they will now be more consistent?

Yes.

> doesn't sound too bad to me.

Me neither. :-)

> > I tend to fix the test suite when it tests for too specific an error.
> > I don't think there are many cases in the library proper that are
> > sensitive to the kind of thing that might change.
> 
> have you made ANY changes to the library this far?

Can't recall.

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