Title: Canonicalize f-string annotation fields by youknowdot · Pull Request #9077 · RustPython/RustPython · GitHub
Open Graph Title: Canonicalize f-string annotation fields by youknowdot · Pull Request #9077 · RustPython/RustPython
X Title: Canonicalize f-string annotation fields by youknowdot · Pull Request #9077 · RustPython/RustPython
Description: Current revision Targets Python 3.15 main at f39da82d9d38cd5bdceb9e645205e830f65126fb with one logical commit, 08ba7aefead6429d46b9c664742f1995add630b5. The unique patch is unchanged from the prior reviewed PR head (range-diff =); current main fixes, original author attribution, and assistance trailers are preserved. No files under Lib/ are changed. Normal commit hooks, changed-range hooks, whitespace checks, and source-equivalence review passed. Normal hosted CI is enabled for this exact head. Current-revision local validation is source and hooks only; earlier runtime results below remain attributed to their original revisions. Summary Canonicalize opening-brace whitespace in postponed f-string annotations. Preserve debug text, literal format padding and the brace-leading expression safeguard. Four compile-only Python cases cover the behavior. Source and scope The leaf contains only the f-string fix and its four Python regression cases. It adds no Lib/ changes, ParamSpec or TextIOWrapper prerequisite, version pin, or documentation-default change. The inherited reference and documentation default remain 3.15.0. The earlier configparser and SQLite backports are deferred to the common library refresh; their fixes are already in official 3.15. The withdrawn tuple-folding optimization remains absent. The change follows CPython 3.15 final's AST unparser. Main's nested template-format annotation fix (#9076) and its regression cases are preserved through the dependency. Validation The current revision has the source-equivalence and hook validation recorded above; normal Python 3.15 hosted CI is pending. Earlier fresh native builds, focused tests and Clippy results belonged to a6c5ba47e623149d84c54376ce0b7db4c9b807ff with a CPython 3.14.8 reference. They do not validate this 3.15-based head. Leave this PR draft and unmerged pending dependency and maintainer review. AI-assisted implementation, source review, rebase and validation with OpenAI Codex; assistance is disclosed in the retained commit trailers.
Open Graph Description: Current revision Targets Python 3.15 main at f39da82d9d38cd5bdceb9e645205e830f65126fb with one logical commit, 08ba7aefead6429d46b9c664742f1995add630b5. The unique patch is unchanged from the prior...
X Description: Current revision Targets Python 3.15 main at f39da82d9d38cd5bdceb9e645205e830f65126fb with one logical commit, 08ba7aefead6429d46b9c664742f1995add630b5. The unique patch is unchanged from the prior...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9077
X: @github
Domain: github.com
| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6b76555c-983c-65b2-5a90-3e61c483c506 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 98A6:2E124E:36872C3:45ABEE0:6B01F6A5 |
| html-safe-nonce | 99eab3a8ad65f73ae5db86170712bc286cbdd9d2b591b4fe15cdecdcb52bbdca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEE2OjJFMTI0RTozNjg3MkMzOjQ1QUJFRTA6NkIwMUY2QTUiLCJ2aXNpdG9yX2lkIjoiMzAzNjQ4Mzk3NTMxODIwNjExNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fcd13cfed63acdc81134faf9ce6e0b4321ae50a224285352c079c695a25378e1 |
| hovercard-subject-tag | pull_request:4812188463 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/RustPython/RustPython/pull/9077/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Current revision Targets Python 3.15 main at f39da82d9d38cd5bdceb9e645205e830f65126fb with one logical commit, 08ba7aefead6429d46b9c664742f1995add630b5. The unique patch is unchanged from the prior... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| 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 |
Links:
Viewport: width=device-width