Title: [3.14] gh-135676: Simplify docs on lexing names (GH-140464) by StanFromIreland · Pull Request #142015 · python/cpython · GitHub
Open Graph Title: [3.14] gh-135676: Simplify docs on lexing names (GH-140464) by StanFromIreland · Pull Request #142015 · python/cpython
X Title: [3.14] gh-135676: Simplify docs on lexing names (GH-140464) by StanFromIreland · Pull Request #142015 · python/cpython
Description: This simplifies the Lexical Analysis section on Names (but keeps it technically correct) by putting all the info about non-ASCII characters in a separate (and very technical) section. It uses a mental model where the parser doesn't handle Unicode complexity “immediately”, but: parses any non-ASCII character (outside strings/comments) as part of a name, since these can't (yet) be e.g. operators normalizes the name validates the name, using the xid_start/xid_continue sets (cherry picked from commit 2ff8608) Issue: gh-135676 📚 Documentation preview 📚: https://cpython-previews--142015.org.readthedocs.build/
Open Graph Description: This simplifies the Lexical Analysis section on Names (but keeps it technically correct) by putting all the info about non-ASCII characters in a separate (and very technical) section. It uses a men...
X Description: This simplifies the Lexical Analysis section on Names (but keeps it technically correct) by putting all the info about non-ASCII characters in a separate (and very technical) section. It uses a men...
Opengraph URL: https://github.com/python/cpython/pull/142015
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fdf3314c-e543-f6cf-de1c-843512823836 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E582:320F8E:2BC2E9F:3ACE4E9:696AEF76 |
| html-safe-nonce | 7cdda68c28d84c63a90a69ca42d3e9b38d74b74ad3700af84d7666a6244580ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTgyOjMyMEY4RToyQkMyRTlGOjNBQ0U0RTk6Njk2QUVGNzYiLCJ2aXNpdG9yX2lkIjoiMjcyOTY4Mjk5ODA3MDUzODEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | facca9845d4318ac166dc03ac3b9301395696522d9957b266102771e3f0b2857 |
| hovercard-subject-tag | pull_request:3050882909 |
| 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/python/cpython/pull/142015/files |
| twitter:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| og:image:alt | This simplifies the Lexical Analysis section on Names (but keeps it technically correct) by putting all the info about non-ASCII characters in a separate (and very technical) section. It uses a men... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width