Title: Remove dead code from clinic.py · Issue #104146 · python/cpython · GitHub
Open Graph Title: Remove dead code from clinic.py · Issue #104146 · python/cpython
X Title: Remove dead code from clinic.py · Issue #104146 · python/cpython
Description: There's a bit of unused code in clinic.py. For example, the code that manipulated second_pass_replacements was removed in 2015 (commit 0759f84, gh-67688 (bpo-23500)), but the variable and a branch depending on it still persists. Suggesti...
Open Graph Description: There's a bit of unused code in clinic.py. For example, the code that manipulated second_pass_replacements was removed in 2015 (commit 0759f84, gh-67688 (bpo-23500)), but the variable and a branch ...
X Description: There's a bit of unused code in clinic.py. For example, the code that manipulated second_pass_replacements was removed in 2015 (commit 0759f84, gh-67688 (bpo-23500)), but the variable and a bra...
Opengraph URL: https://github.com/python/cpython/issues/104146
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove dead code from clinic.py","articleBody":"There's a bit of unused code in clinic.py. For example, the code that manipulated `second_pass_replacements` was removed in 2015 (commit 0759f84d6260bad1234b802212e73fdc5873d261, gh-67688 (bpo-23500)), but the variable and a branch depending on it still persists.\r\n\r\nSuggesting to remove all unused code in order to make clinic more readable and maintainable.\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-104147\r\n* gh-104214\r\n* gh-104627\n* gh-104680\n* gh-106358\n* gh-107555\n* gh-107608\n* gh-107627\n* gh-107632\n* gh-119162\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-05-03T23:38:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/104146/cpython/issues/104146"}
| 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:49223a09-8a66-4152-8e94-c88a73db2fd3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 854A:31E362:11FD0C0:182E245:6969AC2D |
| html-safe-nonce | aa3cb8df6ced79321d7dd2fca08e8282ef6bee2679f405532151cedb9bb705b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTRBOjMxRTM2MjoxMUZEMEMwOjE4MkUyNDU6Njk2OUFDMkQiLCJ2aXNpdG9yX2lkIjoiNjkxOTE5NDAzNzkwNjQxODczMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27b499354f57e1588637d6fcb5476fa5c140b68ad5c357255c062c5f6a4200f5 |
| hovercard-subject-tag | issue:1694987987 |
| 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/104146/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b889e0a66442e9a8d2e498790b2f18c14567a5be4bc4a7e0425816e07744ed78/python/cpython/issues/104146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b889e0a66442e9a8d2e498790b2f18c14567a5be4bc4a7e0425816e07744ed78/python/cpython/issues/104146 |
| og:image:alt | There's a bit of unused code in clinic.py. For example, the code that manipulated second_pass_replacements was removed in 2015 (commit 0759f84, gh-67688 (bpo-23500)), but the variable and a branch ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width