Title: Leftover code in `sysconfig.expand_makefile_vars` · Issue #128978 · python/cpython · GitHub
Open Graph Title: Leftover code in `sysconfig.expand_makefile_vars` · Issue #128978 · python/cpython
X Title: Leftover code in `sysconfig.expand_makefile_vars` · Issue #128978 · python/cpython
Description: Bug report Bug description: I think there is some leftover code in sysconfig.expand_makefile_vars (4a53a39): cpython/Lib/sysconfig/__init__.py Lines 727 to 734 in 4dade05 while True: m = re.search(_findvar1_rx, s) or re.search(_findvar2_...
Open Graph Description: Bug report Bug description: I think there is some leftover code in sysconfig.expand_makefile_vars (4a53a39): cpython/Lib/sysconfig/__init__.py Lines 727 to 734 in 4dade05 while True: m = re.search(...
X Description: Bug report Bug description: I think there is some leftover code in sysconfig.expand_makefile_vars (4a53a39): cpython/Lib/sysconfig/__init__.py Lines 727 to 734 in 4dade05 while True: m = re.search(...
Opengraph URL: https://github.com/python/cpython/issues/128978
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Leftover code in `sysconfig.expand_makefile_vars`","articleBody":"# Bug report\n\n### Bug description:\n\nI think there is some leftover code in `sysconfig.expand_makefile_vars` (4a53a397c311567f05553bc25a28aebaba4f6f65):\n\nhttps://github.com/python/cpython/blob/4dade055f4e18a7e91bc70293abb4db745ad16ca/Lib/sysconfig/__init__.py#L727-L734\n\nThe `_findvar1_rx` and `_findvar2_rx` variables are not declared at all (they were moved to `sysconfig/__main__.py`). Since the function is publicly named (but not exported nor documented), I prefer backporting the changes of #110785, namely re-use the patterns as is.\n\ncc @FFY00\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-128979\n* gh-129065\n* gh-129066 (not needed)\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2025-01-18T10:03:31Z","url":"https://github.com/python/cpython/issues/128978"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:62be0d6e-f6ed-c45f-628a-03f7ca0135be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E500:928E2:38D455B:4BB2D1C:6B021B6D |
| html-safe-nonce | cfa0ee8aab8923b19c8aed68d5b2858c4c4aea2012ac2d76847cf479e4604846 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTAwOjkyOEUyOjM4RDQ1NUI6NEJCMkQxQzo2QjAyMUI2RCIsInZpc2l0b3JfaWQiOiI5NTU2MDQ3NDc0MDkzMDAzMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9bcc7bb9c790f46c896474925b455d1ef89a911e60f2676862929d184c307daf |
| hovercard-subject-tag | issue:2796894296 |
| 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/128978/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99fbac2cf882f495aa5963cc8b73889701725505bb645e1bf87b44b0ecbdf4e8/python/cpython/issues/128978 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99fbac2cf882f495aa5963cc8b73889701725505bb645e1bf87b44b0ecbdf4e8/python/cpython/issues/128978 |
| og:image:alt | Bug report Bug description: I think there is some leftover code in sysconfig.expand_makefile_vars (4a53a39): cpython/Lib/sysconfig/__init__.py Lines 727 to 734 in 4dade05 while True: m = re.search(... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width