[issue28265] builtin_function_or_method's __getattribute__ not applicable to self

2016-09-24 Thread Alexander Sosedkin
Alexander Sosedkin added the comment: Oh, I see. The invocation b.__getattribute__(b, attrname) worked on so many objects that I didn't even think it could be incorrect. Sorry for wasting your time. -- resolution: -> not a bug status: pending -

[issue28265] builtin_function_or_method's __getattribute__ not applicable to self

2016-09-24 Thread Alexander Sosedkin
New submission from Alexander Sosedkin: I've managed to obtain several objects, which __getattribute__ cannot be applied to them. Minimal non-working example (a more detailed one is attached): b = abs.__class__ b.__getattribute__(b, 'x') Proxying such objects turned out to be e