Title: bpo-32278: Add dataclasses.Data as an alias for typing.Any by gpshead · Pull Request #4982 · python/cpython · GitHub
Open Graph Title: bpo-32278: Add dataclasses.Data as an alias for typing.Any by gpshead · Pull Request #4982 · python/cpython
X Title: bpo-32278: Add dataclasses.Data as an alias for typing.Any by gpshead · Pull Request #4982 · python/cpython
Description: As suggested in a recent python-dev discussion: https://groups.google.com/d/msg/dev-python/DIFX5Gf85Gs/eg53gekFDAAJ For people who do not want to use or promote the typing module. It allows for the following readable idiom when one does not care to declare types. from dataclasses import dataclass, Data @dataclass class Swallow: weight_in_oz: Data = 5 laden: Data = False https://bugs.python.org/issue32278
Open Graph Description: As suggested in a recent python-dev discussion: https://groups.google.com/d/msg/dev-python/DIFX5Gf85Gs/eg53gekFDAAJ For people who do not want to use or promote the typing module. It allows for th...
X Description: As suggested in a recent python-dev discussion: https://groups.google.com/d/msg/dev-python/DIFX5Gf85Gs/eg53gekFDAAJ For people who do not want to use or promote the typing module. It allows for th...
Opengraph URL: https://github.com/python/cpython/pull/4982
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f4fb830f-5f5d-faad-10f0-f57738377a01 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A132:391A54:EAB3B6:14367F8:6A4DD503 |
| html-safe-nonce | 56f2e072e310ffb6f2a376bf63fb8d36716ea467078ca8912f47b40d47320acf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTMyOjM5MUE1NDpFQUIzQjY6MTQzNjdGODo2QTRERDUwMyIsInZpc2l0b3JfaWQiOiIyNTY1NzkxMTMwNTgzOTQ2NDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bcd4dfb20bb440eec64c594032e8b7aaf40aaa89c067cca085ab6c020b6e083b |
| hovercard-subject-tag | pull_request:159941862 |
| 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/4982/files |
| twitter:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/68491?s=400&v=4 |
| og:image:alt | As suggested in a recent python-dev discussion: https://groups.google.com/d/msg/dev-python/DIFX5Gf85Gs/eg53gekFDAAJ For people who do not want to use or promote the typing module. It allows for th... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width