Title: Functional tests for argument clinic · Issue #96002 · python/cpython · GitHub
Open Graph Title: Functional tests for argument clinic · Issue #96002 · python/cpython
X Title: Functional tests for argument clinic · Issue #96002 · python/cpython
Description: Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like #32092 so adding tests would help avoid such bugs. A new module with func...
Open Graph Description: Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like #32092 so adding tests would help...
X Description: Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like #32092 so adding tests would help...
Opengraph URL: https://github.com/python/cpython/issues/96002
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Functional tests for argument clinic","articleBody":"Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like https://github.com/python/cpython/pull/32092 so adding tests would help avoid such bugs.\r\n\r\nA new module with functions using all function signatures can be created which will return the tuple of the args so that testing it would be easy.\n\n\u003c!-- gh-pr-number: gh-96178 --\u003e\n* PR: gh-96178\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-100230 --\u003e\n* PR: gh-100230\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-100232 --\u003e\n* PR: gh-100232\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/kumaraditya303","@type":"Person","name":"kumaraditya303"},"datePublished":"2022-08-15T16:52:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/96002/cpython/issues/96002"}
| 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:c1c297dd-70f9-9077-37c7-4e941f94b373 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0A8:338071:944AFA:CF00D1:696A7844 |
| html-safe-nonce | 552599a725a02dd19123b891cb5612e7c2fd90d021c35fe422c55f7edbd402a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEE4OjMzODA3MTo5NDRBRkE6Q0YwMEQxOjY5NkE3ODQ0IiwidmlzaXRvcl9pZCI6IjQ5MDE3MTQ0NDU3NTE0NDk2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 530e41552b5b1b53fa355e5545438056ab7d41f5dcfbb3c3927430bfcfc249d7 |
| hovercard-subject-tag | issue:1339227483 |
| 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/96002/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b09d924e4ef305c59d5b5097134aaafe96c660ac34dfa03c57f578d3e67d032c/python/cpython/issues/96002 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b09d924e4ef305c59d5b5097134aaafe96c660ac34dfa03c57f578d3e67d032c/python/cpython/issues/96002 |
| og:image:alt | Currently there are no functional tests for argument clinic and the present tests mostly verify generated code not the runtime behavior. This can lead to bugs like #32092 so adding tests would help... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kumaraditya303 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8 |
| 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 | cc5f4eee261b3601c1e98e217ceaf28508b9567e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width