Title: PEP 484: NewType is now a class, not a function · Issue #2199 · python/peps · GitHub
Open Graph Title: PEP 484: NewType is now a class, not a function · Issue #2199 · python/peps
X Title: PEP 484: NewType is now a class, not a function · Issue #2199 · python/peps
Description: Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading. Should we update it? Or do we leave it as is? CC @JelleZijlstra and @gvanrossum
Open Graph Description: Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading. Should we update it? Or do we leave it as is? CC @JelleZijlstra and @gvanrossum
X Description: Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading. Should we update it? Or do we leave it as is? CC @JelleZijlstra and @gvanrossum
Opengraph URL: https://github.com/python/peps/issues/2199
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PEP 484: NewType is now a class, not a function","articleBody":"Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so [this section](https://www.python.org/dev/peps/pep-0484/#newtype-helper-function) is misleading.\r\n\r\nShould we update it? Or do we leave it as is?\r\n\r\nCC @JelleZijlstra and @gvanrossum ","author":{"url":"https://github.com/Fidget-Spinner","@type":"Person","name":"Fidget-Spinner"},"datePublished":"2021-12-18T12:14:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2199/peps/issues/2199"}
| 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:b8bb708c-75cc-5718-0068-2f5dd445a83c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF90:4FFB3:F1CA8A:14BB015:6A61A85F |
| html-safe-nonce | 4d0d92ebb765ee2a9863ec0ea8fee10f84929295039519bbcc34ecdb5d60acc0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjkwOjRGRkIzOkYxQ0E4QToxNEJCMDE1OjZBNjFBODVGIiwidmlzaXRvcl9pZCI6Ijc1MDIwNDQxNzY4NDkxNTIwOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1fe1f078596fcea028091db8c3ae99ccefc7db2646e7ca9c0cf6373a0d7c6a25 |
| hovercard-subject-tag | issue:1083820304 |
| 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/peps/2199/issue_layout |
| twitter:image | https://opengraph.githubassets.com/008f8b454d1c17ba96714ea38c5a24a3de9c9962c3d5d94b6117008c2b2a3b4b/python/peps/issues/2199 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/008f8b454d1c17ba96714ea38c5a24a3de9c9962c3d5d94b6117008c2b2a3b4b/python/peps/issues/2199 |
| og:image:alt | Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading. Should we update it? Or do we leave it as is? CC @JelleZijlstra and @gvanrossum |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Fidget-Spinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6f4633bcf01c1ad14b73fd07dd39ac31d61f3d3c2578ee08ec1792b7b351eeb9 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/peps git https://github.com/python/peps.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 13414105 |
| octolytics-dimension-repository_nwo | python/peps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13414105 |
| octolytics-dimension-repository_network_root_nwo | python/peps |
| 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 | ac296ae7f21856f1f92adbad22f870b6fbb4b907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width