Title: Document PEP 695 · Issue #103921 · python/cpython · GitHub
Open Graph Title: Document PEP 695 · Issue #103921 · python/cpython
X Title: Document PEP 695 · Issue #103921 · python/cpython
Description: We should document PEP-695 for Python 3.12 (issue #103763, PR #103764 for implementation). I am leaving docs out of the PR to avoid complicating an already huge PR with a tight deadline, but let's start thinking about what we need to doc...
Open Graph Description: We should document PEP-695 for Python 3.12 (issue #103763, PR #103764 for implementation). I am leaving docs out of the PR to avoid complicating an already huge PR with a tight deadline, but let's ...
X Description: We should document PEP-695 for Python 3.12 (issue #103763, PR #103764 for implementation). I am leaving docs out of the PR to avoid complicating an already huge PR with a tight deadline, but let...
Opengraph URL: https://github.com/python/cpython/issues/103921
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document PEP 695","articleBody":"We should document PEP-695 for Python 3.12 (issue #103763, PR #103764 for implementation). I am leaving docs out of the PR to avoid complicating an already huge PR with a tight deadline, but let's start thinking about what we need to document:\r\n\r\n- [x] New AST nodes in `ast.rst`\r\n- [x] Language reference should be updated to include the new grammar changes\r\n- [x] Language reference should be updated to reflect new scoping rules (https://docs.python.org/3.12/reference/executionmodel.html#naming-and-binding)\r\n- [x] `typing.rst` should list the PEP\r\n- [x] `typing.rst` should mention that `TypeVar` gained an `infer_variance` argument and that it now supports lazily evaluated bounds/constraints\r\n- [x] Examples of generics in `typing.rst` should use the new syntax\r\n- [x] `typing.rst` should document the new `TypeAliasType`\r\n- [x] `typing.TypeAlias` should be mentioned as deprecated (including in the deprecation timeline at the bottom of `typing.rst`), and any examples of type aliases should be updated to use the new syntax\r\n- [x] New opcodes need to be mentioned in `dis.rst`. `dis.dis` docs should mention new contexts where nested code objects can appear. The `CALL_INTRINSIC_1` and 2 opcodes should mention the new intrinsics.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104642\n* gh-104654\n* gh-104989\n* gh-105007\n* gh-105093\n* gh-105101\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2023-04-27T12:14:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/103921/cpython/issues/103921"}
| 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:c7db55d3-c9a3-dde7-93c1-47b46b8455d0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A93A:10CAF0:AA5F2B:E40418:69699368 |
| html-safe-nonce | 48f5d2e8a05948bb2c03896033345a5b424d656f312019f1d61564afcece2db8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTNBOjEwQ0FGMDpBQTVGMkI6RTQwNDE4OjY5Njk5MzY4IiwidmlzaXRvcl9pZCI6IjM0MzY1NDE2MDYyMTIxMjUyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 170e193e3d317646f37a984eb81d3befb7b874650c8fb56d05707300bbcaa4e8 |
| hovercard-subject-tag | issue:1686725349 |
| 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/103921/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9877cc7b626fa9921b0280344826d510356a5268573df9ac9b1bcdfc13c57635/python/cpython/issues/103921 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9877cc7b626fa9921b0280344826d510356a5268573df9ac9b1bcdfc13c57635/python/cpython/issues/103921 |
| og:image:alt | We should document PEP-695 for Python 3.12 (issue #103763, PR #103764 for implementation). I am leaving docs out of the PR to avoid complicating an already huge PR with a tight deadline, but let's ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width