Title: WIP bpo-43892: Make match patterns explicit in AST by ncoghlan · Pull Request #25521 · python/cpython · GitHub
Open Graph Title: WIP bpo-43892: Make match patterns explicit in AST by ncoghlan · Pull Request #25521 · python/cpython
X Title: WIP bpo-43892: Make match patterns explicit in AST by ncoghlan · Pull Request #25521 · python/cpython
Description: Separates "pattern" and "expr" nodes in AST AST node names are derived from the AST proposed in PEP 642, except that MatchValue always matches by equality and a separate MatchConstant node is defined for matching by identity Grammar definition has been updated to emit the newly defined AST nodes TODO: update code generator to consume new nodes TODO: update AST validator to consume new nodes TODO: update AST unparser to consume new nodes https://bugs.python.org/issue43892
Open Graph Description: Separates "pattern" and "expr" nodes in AST AST node names are derived from the AST proposed in PEP 642, except that MatchValue always matches by equality and a separate MatchCo...
X Description: Separates "pattern" and "expr" nodes in AST AST node names are derived from the AST proposed in PEP 642, except that MatchValue always matches by equality and a ...
Opengraph URL: https://github.com/python/cpython/pull/25521
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7196d954-a9e9-99c6-6772-24a815160e0c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C858:2D16FA:46F583B:640B794:6A56CD43 |
| html-safe-nonce | 755845852f9adb04c29f10721065616ef983d0c454c9d343e9c1a12ec358f0df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODU4OjJEMTZGQTo0NkY1ODNCOjY0MEI3OTQ6NkE1NkNENDMiLCJ2aXNpdG9yX2lkIjoiMjU5Mzg0OTU3NjQwMzY4NDY3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6f2bdacc15ab4f9671d873804be8129a1c3008e7fce5ff4631e318001a1efe14 |
| hovercard-subject-tag | pull_request:620937551 |
| 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/25521/files |
| twitter:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1026649?s=400&v=4 |
| og:image:alt | Separates "pattern" and "expr" nodes in AST AST node names are derived from the AST proposed in PEP 642, except that MatchValue always matches by equality and a separate MatchCo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| 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 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 | 3146ab55fc8763ab0e1d2a875e600b3a545bc751 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width