STINNER Victor <victor.stin...@haypocalc.com> added the comment: > I think this is a duplicate of issue #9756
Yes it is and the issue is now fixed. The example now fails with the correct exception: Traceback (most recent call last): File " x.py", line 12, in <module> p.__class__.__call__(p) TypeError: descriptor '__call__' requires a 'function' object but received a 'Proxy' ---------- nosy: +haypo resolution: -> duplicate status: open -> closed superseder: -> Crash with custom __getattribute__ _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10922> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com