Title: Syntax error in _delim.py · Issue #102033 · python/cpython · GitHub
Open Graph Title: Syntax error in _delim.py · Issue #102033 · python/cpython
X Title: Syntax error in _delim.py · Issue #102033 · python/cpython
Description: Bug report As part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball: make install DESTDIR=/sw/build.build/root-pytho...
Open Graph Description: Bug report As part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball: make in...
X Description: Bug report As part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball: make in...
Opengraph URL: https://github.com/python/cpython/issues/102033
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Syntax error in _delim.py","articleBody":"# Bug report\r\n\r\nAs part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball:\r\n```\r\nmake install DESTDIR=/sw/build.build/root-python311-3.11.2-1\r\n[...]\r\nDYLD_LIBRARY_PATH=/sw/build.build/root-python311-3.11.2-1/sw/lib\r\n+ /sw/build.build/root-python311-3.11.2-1/sw/bin/python3.11 -m compileall -f -o 0 -o 1 -o 2 _sysconfigdata__darwin_darwin.py Tools\r\n[...]\r\nCompiling 'Tools/c-analyzer/c_parser/parser/_delim.py'...\r\n*** File \"Tools/c-analyzer/c_parser/parser/_delim.py\", line 37\r\n ''')\r\n ^\r\nSyntaxError: f-string: empty expression not allowed\r\n```\r\n\r\n# Your environment\r\n\r\nThis is OS X 10.13, I see the same results on python-3.11.2, and 3.10.10 and 3.10.4 but not 3.9.12, which makes sense since _delim.py was introduced via PR #22841 and unchanged since that point.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-102066\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/dmacks","@type":"Person","name":"dmacks"},"datePublished":"2023-02-18T23:41:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/102033/cpython/issues/102033"}
| 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:1c388132-53f0-b4a1-d720-4e0cc2b8c19d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8670:1AD94A:2E2F98:3D33CD:6969C1D8 |
| html-safe-nonce | e432a12bb0bf2b520ab6bd818e7ced23812589657bd38f2c66873358ee46af1a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjcwOjFBRDk0QToyRTJGOTg6M0QzM0NEOjY5NjlDMUQ4IiwidmlzaXRvcl9pZCI6IjUzNTkxMzQ0Mjg0ODQ5NzcxMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a2d3f1eda0b8785cd2106045c6d332ff971b69e011fc71394a5dd751e041d22 |
| hovercard-subject-tag | issue:1590503219 |
| 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/102033/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f26e77177e03da4f2468adbf076c877dafb5ebfff17467b5ce255f6a07b181c4/python/cpython/issues/102033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f26e77177e03da4f2468adbf076c877dafb5ebfff17467b5ce255f6a07b181c4/python/cpython/issues/102033 |
| og:image:alt | Bug report As part of packaging in fink, we try to byte-compile all .py using the just-built interpretter in the staging directory for installation. After compiling from the source tarball: make in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dmacks |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width