Title: Missing error check in `_testinternalcapi` · Issue #110241 · python/cpython · GitHub
Open Graph Title: Missing error check in `_testinternalcapi` · Issue #110241 · python/cpython
X Title: Missing error check in `_testinternalcapi` · Issue #110241 · python/cpython
Description: Bug report While looking at #110238 I've noticed that cpython/Modules/_testinternalcapi.c Line 678 in 014aacd PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func_name); does not handle errors properly. I have a PR ...
Open Graph Description: Bug report While looking at #110238 I've noticed that cpython/Modules/_testinternalcapi.c Line 678 in 014aacd PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func_name); does ...
X Description: Bug report While looking at #110238 I've noticed that cpython/Modules/_testinternalcapi.c Line 678 in 014aacd PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func...
Opengraph URL: https://github.com/python/cpython/issues/110241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing error check in `_testinternalcapi`","articleBody":"# Bug report\n\nWhile looking at https://github.com/python/cpython/pull/110238 I've noticed that https://github.com/python/cpython/blob/014aacda6239f0e33b3ad5ece343df66701804b2/Modules/_testinternalcapi.c#L678 does not handle errors properly.\n\nI have a PR ready :)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110242\n* gh-110244\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2023-10-02T20:47:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/110241/cpython/issues/110241"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4715c887-c50b-1468-7ff4-190a37ba37da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E906:9445B:16EA584:1F8D9EC:696AA8E8 |
| html-safe-nonce | 1d5582bfd2ec2efdaf0fc84f805ff2955a0abd400e14128746635869936b410a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTA2Ojk0NDVCOjE2RUE1ODQ6MUY4RDlFQzo2OTZBQThFOCIsInZpc2l0b3JfaWQiOiI1MTk1MzMyMjQ4NDkwNjQ5ODMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | afddbdceab1475c96b22bea1d35e032a7fc4563dad31b5bb9433e9a7c6e3b1a1 |
| hovercard-subject-tag | issue:1922682577 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/110241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81dbad345261b46a16a37fc18c8210b803ee3a332c5f0e91ca1eff06a196e240/python/cpython/issues/110241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81dbad345261b46a16a37fc18c8210b803ee3a332c5f0e91ca1eff06a196e240/python/cpython/issues/110241 |
| og:image:alt | Bug report While looking at #110238 I've noticed that cpython/Modules/_testinternalcapi.c Line 678 in 014aacd PyList_Append(state->record_list, ((PyFunctionObject *)f->f_funcobj)->func_name); does ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width