| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a511e535-a925-bb4b-0946-411742e8ad8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7BA:1860A8:DB1D7B:13094E3:696A8270 |
| html-safe-nonce | ddfc447ccfdb6a010ad606acfd814f8fdf003599ee50b5152dc6f85e7045afef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0JBOjE4NjBBODpEQjFEN0I6MTMwOTRFMzo2OTZBODI3MCIsInZpc2l0b3JfaWQiOiIyOTY4OTk1OTA0MzMzOTcyMDgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e3f76e7804c6126d607b1633d8628baccb08126ffbda0c9d6977015b54adee07 |
| hovercard-subject-tag | pull_request:525352193 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/23469/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/bf56c1cd1f2ee109c8fca764f059b7e7cb5355a54243dbd9e87d05954ee29a13/python/cpython/pull/23469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf56c1cd1f2ee109c8fca764f059b7e7cb5355a54243dbd9e87d05954ee29a13/python/cpython/pull/23469 |
| og:image:alt | Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
https://bugs.python.org/issue26131
Automerge-Trigge... |
| 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 | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| 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 | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/23469#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23469 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23469 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/23469 |
| Reload | https://github.com/python/cpython/pull/23469 |
| Reload | https://github.com/python/cpython/pull/23469 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/23469#issue-comment-box |
| brettcannon | https://github.com/brettcannon |
| python:master | https://github.com/python/cpython/tree/master |
| brettcannon:deprecate-load_module | https://github.com/brettcannon/cpython/tree/deprecate-load_module |
|
gh-70319: Deprecate usage of load_module()
| https://github.com/python/cpython/pull/23469#top |
| brettcannon | https://github.com/brettcannon |
| python:master | https://github.com/python/cpython/tree/master |
| brettcannon:deprecate-load_module | https://github.com/brettcannon/cpython/tree/deprecate-load_module |
|
Conversation
1
| https://github.com/python/cpython/pull/23469 |
|
Commits
12
| https://github.com/python/cpython/pull/23469/commits |
|
Checks
0
| https://github.com/python/cpython/pull/23469/checks |
|
Files changed
| https://github.com/python/cpython/pull/23469/files |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| Nov 22, 2020 | https://github.com/python/cpython/pull/23469#issue-748344066 |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
| https://bugs.python.org/issue26131 | https://bugs.python.org/issue26131 |
| Raise ImportWarning when loader.load_module() is used #70319 | https://github.com/python/cpython/issues/70319 |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
| brettcannon | https://github.com/brettcannon |
| October 22, 2020 17:28 | https://github.com/python/cpython/pull/23469#commits-pushed-4c7284c |
|
| https://github.com/brettcannon |
| bpo-26131: deprecate the use of load_module() | https://github.com/python/cpython/pull/23469/commits/4c7284cf6b6952ebf3941a1bf3be6128a4b8ad77 |
| 4c7284c | https://github.com/python/cpython/pull/23469/commits/4c7284cf6b6952ebf3941a1bf3be6128a4b8ad77 |
|
| https://github.com/brettcannon |
| Fix a grammatical error in a comment | https://github.com/python/cpython/pull/23469/commits/f05002bd5f41982fe1a0f2acdf6de34a3d4992d9 |
| f05002b | https://github.com/python/cpython/pull/23469/commits/f05002bd5f41982fe1a0f2acdf6de34a3d4992d9 |
|
| https://github.com/brettcannon |
| Merge branch 'master' into deprecate-load_module | https://github.com/python/cpython/pull/23469/commits/0c09542f41118a638e6db1aec05ff2b11bac9c7a |
| 0c09542 | https://github.com/python/cpython/pull/23469/commits/0c09542f41118a638e6db1aec05ff2b11bac9c7a |
|
| https://github.com/brettcannon |
| Update to print out the loader's name in the ImportWarning | https://github.com/python/cpython/pull/23469/commits/57f6a12946cff5383c0e2fd8adfb645baa5b888a |
| 57f6a12 | https://github.com/python/cpython/pull/23469/commits/57f6a12946cff5383c0e2fd8adfb645baa5b888a |
|
| https://github.com/brettcannon |
| Merge branch 'master' into deprecate-load_module | https://github.com/python/cpython/pull/23469/commits/7c549143a2d4719ea2baa25eb5cf267ca02e9c11 |
| 7c54914 | https://github.com/python/cpython/pull/23469/commits/7c549143a2d4719ea2baa25eb5cf267ca02e9c11 |
|
| https://github.com/brettcannon |
| Deprecate zipimport's load_module() method | https://github.com/python/cpython/pull/23469/commits/023cdaf8db231484ef6fa3f20766261ad81b909a |
| 023cdaf | https://github.com/python/cpython/pull/23469/commits/023cdaf8db231484ef6fa3f20766261ad81b909a |
|
| https://github.com/brettcannon |
| Silence ImportWarning in test_venv | https://github.com/python/cpython/pull/23469/commits/0a3d4c9e8c9f59ee6659b866e8d0def5d6ba19ff |
| 0a3d4c9 | https://github.com/python/cpython/pull/23469/commits/0a3d4c9e8c9f59ee6659b866e8d0def5d6ba19ff |
|
| https://github.com/brettcannon |
| Add a news entry for the zipimport deprecation | https://github.com/python/cpython/pull/23469/commits/7a673ac41cf2bf274cfceb4bb89ccdd3cf167484 |
| 7a673ac | https://github.com/python/cpython/pull/23469/commits/7a673ac41cf2bf274cfceb4bb89ccdd3cf167484 |
|
| https://github.com/brettcannon |
| Add a What's New entry for zipimport deprecation | https://github.com/python/cpython/pull/23469/commits/15e6b70a819c96ca334448b070f573d8c0326ca3 |
| 15e6b70 | https://github.com/python/cpython/pull/23469/commits/15e6b70a819c96ca334448b070f573d8c0326ca3 |
|
| https://github.com/brettcannon |
| Tweak the deprecation message for zipimport | https://github.com/python/cpython/pull/23469/commits/305d2a7252f249af2a3489602a00df8ebb21b2c5 |
| 305d2a7 | https://github.com/python/cpython/pull/23469/commits/305d2a7252f249af2a3489602a00df8ebb21b2c5 |
|
| https://github.com/brettcannon |
| Re-generate zipimport | https://github.com/python/cpython/pull/23469/commits/5985e107b47a9bc07fe03334af2f7489303a78bc |
| 5985e10 | https://github.com/python/cpython/pull/23469/commits/5985e107b47a9bc07fe03334af2f7489303a78bc |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| encukou | https://github.com/encukou |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| ncoghlan | https://github.com/ncoghlan |
| vsajip | https://github.com/vsajip |
| warsaw | https://github.com/warsaw |
| code owners | https://github.com/python/cpython/blob/313467efdc23a1ec8662b77d2001642be598f80a/.github/CODEOWNERS#L51 |
| November 22, 2020 20:34 | https://github.com/python/cpython/pull/23469#event-4025225391 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Nov 22, 2020 | https://github.com/python/cpython/pull/23469#event-4025225431 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Nov 22, 2020 | https://github.com/python/cpython/pull/23469#event-4025225472 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| Nov 22, 2020 | https://github.com/python/cpython/pull/23469#issuecomment-731843301 |
| #22905 | https://github.com/python/cpython/pull/22905 |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
|
| https://github.com/brettcannon |
| Merge branch 'master' into deprecate-load_module | https://github.com/python/cpython/pull/23469/commits/9575bc2256e1354ece82dbb89f419110ff85f5c8 |
| 9575bc2 | https://github.com/python/cpython/pull/23469/commits/9575bc2256e1354ece82dbb89f419110ff85f5c8 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
|
🤖 automerge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Arobot%3A%20automerge%22 |
| Dec 4, 2020 | https://github.com/python/cpython/pull/23469#event-4074746665 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| 2de5097 | https://github.com/python/cpython/commit/2de5097ba4c50eba90df55696a7b2e74c93834d4 |
| Dec 4, 2020 | https://github.com/python/cpython/pull/23469#event-4074881431 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| December 4, 2020 23:39 | https://github.com/python/cpython/pull/23469#event-4074881490 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Dec 4, 2020 | https://github.com/python/cpython/pull/23469#event-4074881535 |
| https://github.com/frenzymadness |
| frenzymadness | https://github.com/frenzymadness |
|
Dec 11, 2020
| https://github.com/python/cpython/pull/23469#ref-issue-747883671 |
|
Implement create_module() and exec_module() for _SixMetaPathImporter
benjaminp/six#341
| https://github.com/benjaminp/six/issues/341 |
|
[Forward compatibility][BUG] pkg_resources.extern.VendorImporter lacks exec_module() method
pypa/setuptools#2481
| https://github.com/pypa/setuptools/issues/2481 |
|
[Forward compatibility] Custom module finders must implement an exec_module() method
ansible/ansible#72952
| https://github.com/ansible/ansible/issues/72952 |
| https://github.com/blueyed |
| blueyed | https://github.com/blueyed |
|
Dec 19, 2020
| https://github.com/python/cpython/pull/23469#ref-issue-771437552 |
|
ImportWarning: VendorImporter.exec_module() not found; falling back to load_module()
pypa/packaging#375
| https://github.com/pypa/packaging/issues/375 |
| https://github.com/asottile |
| asottile | https://github.com/asottile |
|
Jan 13, 2021
| https://github.com/python/cpython/pull/23469#ref-pullrequest-783283798 |
|
[4.6] Define create_module()/exec_module() in AssertionRewritingHook to avoid ImportWarning
pytest-dev/pytest#8236
| https://github.com/pytest-dev/pytest/pull/8236 |
| adorilson | https://github.com/adorilson |
|
Mar 13, 2021
| https://github.com/python/cpython/pull/23469#ref-commit-827db09 |
|
| https://github.com/brettcannon |
|
| https://github.com/adorilson |
| bpo-26131: Deprecate usage of load_module() ( | https://github.com/adorilson/cpython/commit/827db094ca012e301664ca1dbc43ff3664660569 |
| pythonGH-23469 | https://github.com/python/cpython/pull/23469 |
| ) | https://github.com/adorilson/cpython/commit/827db094ca012e301664ca1dbc43ff3664660569 |
| 827db09 | https://github.com/adorilson/cpython/commit/827db094ca012e301664ca1dbc43ff3664660569 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
Aug 16, 2022
| https://github.com/python/cpython/pull/23469#ref-issue-1198854206 |
|
zipimporter find_module fullname mis-documented
#52647
| https://github.com/python/cpython/issues/52647 |
| https://github.com/tomasr8 |
| tomasr8 | https://github.com/tomasr8 |
|
Feb 8, 2025
| https://github.com/python/cpython/pull/23469#ref-pullrequest-2840032434 |
|
gh-97850: Update the deprecation warning of importlib.abc.Loader.load_module
#129855
| https://github.com/python/cpython/pull/129855 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
May 11, 2025
| https://github.com/python/cpython/pull/23469#ref-issue-3054865460 |
|
Remove deprecated importlib.load_module
#133882
| https://github.com/python/cpython/issues/133882 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| May 11, 2025 | https://github.com/python/cpython/pull/23469#event-17605117117 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23469 |
|
| https://github.com/encukou |
|
encukou
| https://github.com/encukou |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/ncoghlan |
|
ncoghlan
| https://github.com/ncoghlan |
|
| https://github.com/vsajip |
|
vsajip
| https://github.com/vsajip |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
| Please reload this page | https://github.com/python/cpython/pull/23469 |
|
| https://github.com/brettcannon |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |