]> granicus.if.org Git - python/commit
bpo-37499: Test various C calling conventions (GH-15776)
authorPetr Viktorin <encukou@gmail.com>
Tue, 10 Sep 2019 11:21:09 +0000 (12:21 +0100)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 10 Sep 2019 11:21:09 +0000 (04:21 -0700)
commitf958377b67c36a98d4df67b94c01eb29e3104f61
tree9258fb47193c6d18c3a6a2c3fe4f64d7b1199ce8
parentf1a297acb60b88917712450ebd3cfa707e6efd6b
bpo-37499: Test various C calling conventions (GH-15776)

Add functions with various calling conventions to `_testcapi`, expose them as module-level functions, bound methods, class methods, and static methods, and test calling them and introspecting them through GDB.

https://bugs.python.org/issue37499

Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
Automerge-Triggered-By: @pganssle
Lib/test/test_call.py
Lib/test/test_gdb.py
Modules/_testcapimodule.c