[Python-Dev] Attribute error: providing type name (original) (raw)
Alex Martelli aleaxit at gmail.com
Mon Dec 1 02:14:08 CET 2008
- Next message: [Python-Dev] Attribute error: providing type name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: [Python-Dev] Attribute error: providing type name
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]