[issue20309] Not all method descriptors are callable

Christian Hudon report at bugs.python.org
Wed Apr 16 23:15:42 CEST 2014


Christian Hudon added the comment:

Work in progress for fixing this bug. (See descr_v1.diff) I converted the "curious.py" file into additional testcases. I started writing the functions for the tp_call slots for class and static methods.

To do: add tests to make sure that the code works for more than what's accepted by function_call(), then switch to using PyObject_Call() (which is the right function to use here, thanks to ncoghlan for catching that). Will finish this in the next few days.

----------
keywords: +patch
nosy: +chrish42
Added file: http://bugs.python.org/file34928/descr_v1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20309>
_______________________________________


More information about the Python-bugs-list mailing list