Title: bpo-32248: Introduce the concept of Loader.get_resource_reader() by brettcannon · Pull Request #5108 · python/cpython · GitHub
Open Graph Title: bpo-32248: Introduce the concept of Loader.get_resource_reader() by brettcannon · Pull Request #5108 · python/cpython
X Title: bpo-32248: Introduce the concept of Loader.get_resource_reader() by brettcannon · Pull Request #5108 · python/cpython
Description: For loaders that wish to provide resource reading, they should now implement get_resource_reader(fullname) to return an object compatible with importlib.abc.ResourceReader. importlib.abc.ResourceLoader has also been documented as deprecated as ResourceReader is more well-defined, full API for similar purposes. https://bugs.python.org/issue32248
Open Graph Description: For loaders that wish to provide resource reading, they should now implement get_resource_reader(fullname) to return an object compatible with importlib.abc.ResourceReader. importlib.abc.ResourceLo...
X Description: For loaders that wish to provide resource reading, they should now implement get_resource_reader(fullname) to return an object compatible with importlib.abc.ResourceReader. importlib.abc.ResourceLo...
Opengraph URL: https://github.com/python/cpython/pull/5108
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9ef98625-acb2-4e8c-aff5-547819a202c5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C6C4:5105D:130A661:1A65FA3:6A4EA126 |
| html-safe-nonce | 5178f09b18932453b32581614b50f58a265a7d7f1357c7a1115e5683e9acf067 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkM0OjUxMDVEOjEzMEE2NjE6MUE2NUZBMzo2QTRFQTEyNiIsInZpc2l0b3JfaWQiOiIzMzU0MzUwODU4NDU2MTc4OTgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ec4242b2932887609e242d83233c6dcc62f5a06be5b58354d7c1d278d968228 |
| hovercard-subject-tag | pull_request:161449192 |
| 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/5108/files |
| twitter:image | https://avatars.githubusercontent.com/u/54418?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/54418?s=400&v=4 |
| og:image:alt | For loaders that wish to provide resource reading, they should now implement get_resource_reader(fullname) to return an object compatible with importlib.abc.ResourceReader. importlib.abc.ResourceLo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width