[Python-Dev] Attribute error: providing type name

André Malo nd at perlig.de
Sun Nov 30 20:48:58 CET 2008

* Christian Heimes wrote:

> Adam Olsen wrote:
> > I'm sure you'll get support for this, unless it's a really
> > inconvenient spot that requires a gross hack to print the type name.
> > Post a patch on the bug tracker.
> So far I can see only one argument against the proposed idea: doc tests.
>   The modified exception message would break existing doc tests.

As the exception text is officially not part of the API, I'd say, let them.

Winnetous Erbe: <http://pub.perlig.de/books.html#apache2>

More information about the Python-Dev mailing list