summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-09-08 13:16:16 (GMT)
committerGitHub <noreply@github.com>2023-09-08 13:16:16 (GMT)
commit4b749ba4702926fae1b89e9f215f5444b30e0e7f (patch)
tree0c7bebcedecb606455d31ccf3c3ac7fed718548e /Lib/test/pythoninfo.py
parent9441005bcf47baa15b3e4544cb37435f088cd4e9 (diff)
downloadcpython-4b749ba4702926fae1b89e9f215f5444b30e0e7f.zip
cpython-4b749ba4702926fae1b89e9f215f5444b30e0e7f.tar.gz
cpython-4b749ba4702926fae1b89e9f215f5444b30e0e7f.tar.bz2
[3.12] gh-91960: Skip test_gdb if gdb cannot retrive Python frames (GH-108999) (#109010)
gh-91960: Skip test_gdb if gdb cannot retrive Python frames (GH-108999) Skip test_gdb if gdb is unable to retrieve Python frame objects: if a frame is "<optimized out>". When Python is built with "clang -Og", gdb can fail to retrive the 'frame' parameter of _PyEval_EvalFrameDefault(). In this case, tests like py_bt() are likely to fail. Without getting access to Python frames, python-gdb.py is mostly clueless on retrieving the Python traceback. Moreover, test_gdb is no longer skipped on macOS if Python is built with Clang. (cherry picked from commit fbce43a251488f666be9794c908a6613bf8ae260) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Lib/test/pythoninfo.py')
0 files changed, 0 insertions, 0 deletions