[Python-Dev] Attribute error: providing type name
Filip Gruszczyński
gruszczy at gmail.com
Sun Nov 30 23:02:09 CET 2008
> Yeah, any time someone implements their own attribute lookup process for
> a class (be it via __getattr__, __getattribute__ or the C equivalents),
> it is up to the reimplementation to appropriately format their error
> message if they raise AttributeError directly.
I guess, this means that I have to go to Phil Thompson at Riverbank
and try to convince him to change the message.
--
Filip Gruszczyński
More information about the Python-Dev
mailing list