Title: gh-109972: Enhance test_gdb by vstinner · Pull Request #110026 · python/cpython · GitHub
Open Graph Title: gh-109972: Enhance test_gdb by vstinner · Pull Request #110026 · python/cpython
X Title: gh-109972: Enhance test_gdb by vstinner · Pull Request #110026 · python/cpython
Description: Split PyBtTests.test_pycfunction() into 2 files, test_cfunction and test_cfunction_full, and 6 functions: test_pycfunction_noargs() test_pycfunction_o() test_pycfunction_varargs() test_pycfunction_varargs_keywords() test_pycfunction_fastcall() test_pycfunction_fastcall_keywords() In verbose mode, these "pycfunction" tests now log each tested call. Move get_gdb_repr() to PrettyPrintTests. Replace DebuggerTests.get_sample_script() with SAMPLE_SCRIPT. Rename checkout_hook_path to CHECKOUT_HOOK_PATH. Rename gdb_version to GDB_VERSION_TEXT. Replace (gdb_major_version, gdb_minor_version) with GDB_VERSION. run_gdb() uses "backslashreplace" error handler. Add check_gdb() function to util.py. Enhance support.check_cflags_pgo(): check also for sysconfig PGO_PROF_USE_FLAG (if available) in compiler flags. Issue: gh-109972
Open Graph Description: Split PyBtTests.test_pycfunction() into 2 files, test_cfunction and test_cfunction_full, and 6 functions: test_pycfunction_noargs() test_pycfunction_o() test_pycfunction_varargs() test_pycfunction...
X Description: Split PyBtTests.test_pycfunction() into 2 files, test_cfunction and test_cfunction_full, and 6 functions: test_pycfunction_noargs() test_pycfunction_o() test_pycfunction_varargs() test_pycfunction...
Opengraph URL: https://github.com/python/cpython/pull/110026
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:66afe120-d3a5-1fb2-a59b-e4c78d25bdee |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FE0:6C43E:58B768:7A9C6D:696A76F6 |
| html-safe-nonce | 36eb92b0cc1e2f501514d6796e6cdecd4d8a8edbde78b40d6767cc1d501e0924 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkUwOjZDNDNFOjU4Qjc2ODo3QTlDNkQ6Njk2QTc2RjYiLCJ2aXNpdG9yX2lkIjoiNTY5ODEwNzQwMzY5NzU1MTA5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f456fa7d07d32154546d8a34a4ffd74df17f660483ecb1ab11f46dd52d55f384 |
| hovercard-subject-tag | pull_request:1534281057 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/110026/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Split PyBtTests.test_pycfunction() into 2 files, test_cfunction and test_cfunction_full, and 6 functions: test_pycfunction_noargs() test_pycfunction_o() test_pycfunction_varargs() test_pycfunction... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width