Title: ast.unparse produces bad code for identifiers that become keywords · Issue #90678 · python/cpython · GitHub
Open Graph Title: ast.unparse produces bad code for identifiers that become keywords · Issue #90678 · python/cpython
X Title: ast.unparse produces bad code for identifiers that become keywords · Issue #90678 · python/cpython
Description: BPO 46520 Nosy @terryjreedy, @benjaminp, @JelleZijlstra, @Kodiologist, @pablogsal, @isidentical, @sobolevn PRs #31012 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. ...
Open Graph Description: BPO 46520 Nosy @terryjreedy, @benjaminp, @JelleZijlstra, @Kodiologist, @pablogsal, @isidentical, @sobolevn PRs #31012 Note: these values reflect the state of the issue at the time it was migrated a...
X Description: BPO 46520 Nosy @terryjreedy, @benjaminp, @JelleZijlstra, @Kodiologist, @pablogsal, @isidentical, @sobolevn PRs #31012 Note: these values reflect the state of the issue at the time it was migrated a...
Opengraph URL: https://github.com/python/cpython/issues/90678
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ast.unparse produces bad code for identifiers that become keywords","articleBody":"BPO | [46520](https://bugs.python.org/issue46520)\n--- | :---\nNosy | @terryjreedy, @benjaminp, @JelleZijlstra, @Kodiologist, @pablogsal, @isidentical, @sobolevn\nPRs | \u003cli\u003epython/cpython#31012\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2022-01-25.15:06:17.083\u003e\nlabels = ['type-bug', 'library', '3.9', '3.10', '3.11']\ntitle = 'ast.unparse produces bad code for identifiers that become keywords'\nupdated_at = \u003cDate 2022-01-29.18:06:22.414\u003e\nuser = 'https://github.com/Kodiologist'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-01-29.18:06:22.414\u003e\nactor = 'Kodiologist'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2022-01-25.15:06:17.083\u003e\ncreator = 'Kodiologist'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 46520\nkeywords = ['patch']\nmessage_count = 7.0\nmessages = ['411606', '411669', '411742', '411780', '411781', '412045', '412078']\nnosy_count = 7.0\nnosy_names = ['terry.reedy', 'benjamin.peterson', 'JelleZijlstra', 'Kodiologist', 'pablogsal', 'BTaskaya', 'sobolevn']\npr_nums = ['31012']\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue46520'\nversions = ['Python 3.9', 'Python 3.10', 'Python 3.11']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/Kodiologist","@type":"Person","name":"Kodiologist"},"datePublished":"2022-01-25T15:06:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/90678/cpython/issues/90678"}
| 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:0b51af4d-3009-57cb-ed59-275f5a288833 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E216:363AD9:60A685:8419AC:6A5851E3 |
| html-safe-nonce | 0779a81b7ab5e29d1cfa204892930cc6256a0565171ec34bba6fcbd608b7d1ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjE2OjM2M0FEOTo2MEE2ODU6ODQxOUFDOjZBNTg1MUUzIiwidmlzaXRvcl9pZCI6IjgxNzY5MTI3MjMwNzY0NjkyMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 16f6532e0c2c1a1f5a69e1d6b478c2ed93305d8c766bc475701b0c8fc49ca199 |
| hovercard-subject-tag | issue:1199073909 |
| 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/90678/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82931610fa058df4a51a34ce6e18bcc08ca58e0ae321bf73d6f8da3788fd1ac5/python/cpython/issues/90678 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82931610fa058df4a51a34ce6e18bcc08ca58e0ae321bf73d6f8da3788fd1ac5/python/cpython/issues/90678 |
| og:image:alt | BPO 46520 Nosy @terryjreedy, @benjaminp, @JelleZijlstra, @Kodiologist, @pablogsal, @isidentical, @sobolevn PRs #31012 Note: these values reflect the state of the issue at the time it was migrated a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Kodiologist |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width