[issue10922] Unexpected exception when calling function_proxy.__class__.__call__(function_proxy)
STINNER Victor
report at bugs.python.org
Mon May 2 01:09:24 CEST 2011
STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10922>
_______________________________________
More information about the Python-bugs-list
mailing list