Title: gh-102500: Remove mention of bytes shorthand by hauntsaninja · Pull Request #104281 · python/cpython · GitHub
Open Graph Title: gh-102500: Remove mention of bytes shorthand by hauntsaninja · Pull Request #104281 · python/cpython
X Title: gh-102500: Remove mention of bytes shorthand by hauntsaninja · Pull Request #104281 · python/cpython
Description: The bytes shorthand was removed in PEP 688: https://peps.python.org/pep-0688/#no-special-meaning-for-bytes I also remove the reference to collections.abc.ByteString, since that object is also deprecated (#91896) and has different semantics from those documented for typing.ByteString (#102092). I've documented the removal timeline as matching that of collections.abc.ByteString, but I'm open to discussion on that point. I think it would be good to backport this since the changes in the type system are immediate and apply to all versions of Python. Issue: gh-102500 📚 Documentation preview 📚: https://cpython-previews--104281.org.readthedocs.build/
Open Graph Description: The bytes shorthand was removed in PEP 688: https://peps.python.org/pep-0688/#no-special-meaning-for-bytes I also remove the reference to collections.abc.ByteString, since that object is also depre...
X Description: The bytes shorthand was removed in PEP 688: https://peps.python.org/pep-0688/#no-special-meaning-for-bytes I also remove the reference to collections.abc.ByteString, since that object is also depre...
Opengraph URL: https://github.com/python/cpython/pull/104281
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:900c5e33-25bd-7f4d-8480-9a8f30c3fcad |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 92A8:2BE6DD:540781:753E75:696A06EC |
| html-safe-nonce | 37832cf30d24f3c19d35dd765815d8eb870871f8627ceca1a521e87bea5e6b75 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkE4OjJCRTZERDo1NDA3ODE6NzUzRTc1OjY5NkEwNkVDIiwidmlzaXRvcl9pZCI6IjU0MzQ4MDI1NDM4MzA2MzIxNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c22755a970d39ddd35f815322875df6b77484aecbf423f560128385bd090e194 |
| hovercard-subject-tag | pull_request:1341357320 |
| 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/104281/files |
| twitter:image | https://avatars.githubusercontent.com/u/12621235?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/12621235?s=400&v=4 |
| og:image:alt | The bytes shorthand was removed in PEP 688: https://peps.python.org/pep-0688/#no-special-meaning-for-bytes I also remove the reference to collections.abc.ByteString, since that object is also depre... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| 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 | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width