[issue37090] test_gdb's test_pycfunction should test all calling conventions
Petr Viktorin
report at bugs.python.org
Wed May 29 17:38:35 EDT 2019
New submission from Petr Viktorin <encukou at gmail.com>:
test_gdb.StackNavigationTests.test_pycfunction checks that the GDB integration can pick up calls to C-API functions. Currently it includes the comment:
> Tested function must not be defined with METH_NOARGS or METH_O,
> otherwise call_function() doesn't call PyCFunction_Call()
This is (now?) false; furthermore it looks like all builtin_function_or_method are discoverable.
As the code paths for various METH_* conventions are diverging due to optimizations, we should check they continue to be covered.
----------
assignee: petr.viktorin
messages: 343927
nosy: petr.viktorin
priority: normal
severity: normal
status: open
title: test_gdb's test_pycfunction should test all calling conventions
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37090>
_______________________________________
More information about the Python-bugs-list
mailing list