Title: inspect. _signature_fromstr has unused code · Issue #99815 · python/cpython · GitHub
Open Graph Title: inspect. _signature_fromstr has unused code · Issue #99815 · python/cpython
X Title: inspect. _signature_fromstr has unused code · Issue #99815 · python/cpython
Description: The signature parsing in inspect has some code that checks whether parse_name return the sentinel "invalid", but parse_name never returns this value. So this is dead code. Linked PRs gh-21104
Open Graph Description: The signature parsing in inspect has some code that checks whether parse_name return the sentinel "invalid", but parse_name never returns this value. So this is dead code. Linked PRs gh-21104
X Description: The signature parsing in inspect has some code that checks whether parse_name return the sentinel "invalid", but parse_name never returns this value. So this is dead code. Linked PRs gh-2...
Opengraph URL: https://github.com/python/cpython/issues/99815
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"inspect. _signature_fromstr has unused code","articleBody":"The signature parsing in inspect has some code that checks whether parse_name return the sentinel \"invalid\", but parse_name never returns this value. So this is dead code.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-21104\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/iritkatriel","@type":"Person","name":"iritkatriel"},"datePublished":"2022-11-27T10:41:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/99815/cpython/issues/99815"}
| 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:34f1d845-4730-7960-b9de-fe902ab9fd09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C98C:155115:54C34:7523B:69693C65 |
| html-safe-nonce | a7376f287ddadd5bfcdd1c18386ac2dde9b772835c755f317120015fecfc4ebd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOThDOjE1NTExNTo1NEMzNDo3NTIzQjo2OTY5M0M2NSIsInZpc2l0b3JfaWQiOiI1NjQzODk0MTQ0NjQzOTcyMTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1459fda0284ccbd8d88d357774e764daef77a2339dd948a5ec20232735937617 |
| hovercard-subject-tag | issue:1465399298 |
| 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/99815/issue_layout |
| twitter:image | https://opengraph.githubassets.com/80f9d6d691d200fce2ddc548e299e5e11b96ca7a556149f1d3b813381340e426/python/cpython/issues/99815 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/80f9d6d691d200fce2ddc548e299e5e11b96ca7a556149f1d3b813381340e426/python/cpython/issues/99815 |
| og:image:alt | The signature parsing in inspect has some code that checks whether parse_name return the sentinel "invalid", but parse_name never returns this value. So this is dead code. Linked PRs gh-21104 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iritkatriel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width