summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-03-07 05:24:37 (GMT)
committerGitHub <noreply@github.com>2017-03-07 05:24:37 (GMT)
commit93fac8dd358cd0e85e7b59115db226ce685d3f6f (patch)
tree51cab83ce4e14a779fc2f2467cab142b331e8034 /configure
parentd36a71637cefdddc02efd884f1b2c204f370afaa (diff)
downloadcpython-93fac8dd358cd0e85e7b59115db226ce685d3f6f.zip
cpython-93fac8dd358cd0e85e7b59115db226ce685d3f6f.tar.gz
cpython-93fac8dd358cd0e85e7b59115db226ce685d3f6f.tar.bz2
bpo-29676: fix lsprof can't profile C method call. (GH523)
When LOAD_METHOD is used for calling C mehtod, PyMethodDescrObject was passed to profilefunc from 5566bbb. But lsprof traces only PyCFunctionObject. Additionally, there can be some third party extension which assumes passed arg is PyCFunctionObject without calling PyCFunction_Check(). So make PyCFunctionObject from PyMethodDescrObject when tstate->c_profilefunc is set.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions