A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-December/083798.html below:

[Python-Dev] Attribute error: providing type name

[Python-Dev] Attribute error: providing type nameAlex Martelli aleaxit at gmail.com
Mon Dec 1 02:14:08 CET 2008
On Sun, Nov 30, 2008 at 2:02 PM, Filip GruszczyƄski <gruszczy at gmail.com> wrote:
>> 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.

Yes, but he should be able to change it in one place (in sip, the C++
to Python wrapper generator he's also authored and uses for PyQt) AND
it would make sip even better, so he may want to put it on his
backlog.

Alex
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4