https://github.com/python/cpython
Revision bebaa95fd0f44babf8b6bcffd8f2908c73ca259e authored by Victor Stinner on 01 February 2022, 17:12:26 UTC, committed by GitHub on 01 February 2022, 17:12:26 UTC
Fix test_gdb.test_pycfunction() for Python built with clang -Og.
Tolerate inlined functions in the gdb traceback.

When _testcapimodule.c is built by clang -Og, _null_to_none() is
inlined in meth_varargs() and so gdb returns _null_to_none() as
the frame #1. If it's not inlined, meth_varargs() is the frame #1.
1 parent f78be59
History
Tip revision: bebaa95fd0f44babf8b6bcffd8f2908c73ca259e authored by Victor Stinner on 01 February 2022, 17:12:26 UTC
bpo-46600: Fix test_gdb.test_pycfunction() for clang -Og (GH-31058)
Tip revision: bebaa95
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.editorconfig -rw-r--r-- 181 bytes
.gitattributes -rw-r--r-- 2.4 KB
.gitignore -rw-r--r-- 2.5 KB
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 93.8 KB
README.rst -rw-r--r-- 9.7 KB
aclocal.m4 -rw-r--r-- 23.9 KB
config.guess -rwxr-xr-x 48.2 KB
config.sub -rwxr-xr-x 34.4 KB
configure -rwxr-xr-x 658.8 KB
configure.ac -rw-r--r-- 198.9 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 47.3 KB
setup.py -rw-r--r-- 80.7 KB

README.rst

back to top