Title: gh-65961: Raise `DeprecationWarning` when `__package__` differs from `__spec__.parent` by brettcannon · Pull Request #97879 · python/cpython · GitHub
Open Graph Title: gh-65961: Raise `DeprecationWarning` when `__package__` differs from `__spec__.parent` by brettcannon · Pull Request #97879 · python/cpython
X Title: gh-65961: Raise `DeprecationWarning` when `__package__` differs from `__spec__.parent` by brettcannon · Pull Request #97879 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Also remove importlib.util.set_package() which was already slated for removal. Issue: update the import machinery to only use __spec__ #65961
X Description: Also remove importlib.util.set_package() which was already slated for removal. Issue: update the import machinery to only use __spec__ #65961
Opengraph URL: https://github.com/python/cpython/pull/97879
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:6aa2854a-e7e6-5f09-d479-bcf1341d2e49 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A282:861EA:1885E36:20ECE99:6969BF58 |
| html-safe-nonce | 9df0162d5d8d127c4eed0aeada4e927fc5d66fef0779a7ebb04837f4de784b9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjgyOjg2MUVBOjE4ODVFMzY6MjBFQ0U5OTo2OTY5QkY1OCIsInZpc2l0b3JfaWQiOiI1MjQzNTAyMzY0MDA0NTY0ODI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 729b8f50ec383cff6b222f3779d9f1dbcff5ddb50ef35f4038da8ba4fdeedb4e |
| hovercard-subject-tag | pull_request:1076665661 |
| 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/97879/commits |
| twitter:image | https://opengraph.githubassets.com/c037467b71ca3c6dd047ca89cdaf2d6690016532bf000583a4f6eeaf1216716b/python/cpython/pull/97879 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c037467b71ca3c6dd047ca89cdaf2d6690016532bf000583a4f6eeaf1216716b/python/cpython/pull/97879 |
| og:image:alt | Also remove importlib.util.set_package() which was already slated for removal. Issue: update the import machinery to only use __spec__ #65961 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-cache |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width