| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9485dd65-7806-ce2b-1f80-67daca94bb41 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9AE:CF40E:14BE4A:1D2DF9:696A6C10 |
| html-safe-nonce | ed00f4b6eda1607a375b848990c22a586c8aab36c4a0c87b4cbe294620c9f04e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUFFOkNGNDBFOjE0QkU0QToxRDJERjk6Njk2QTZDMTAiLCJ2aXNpdG9yX2lkIjoiNDczMzk0MjA3NTI5ODA0OTA0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a4bc8be7a659f5a908a0c00bed5b2f752013d0db8c77cc4c6c9f7ae04f6a4901 |
| hovercard-subject-tag | pull_request:1096652424 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/98573/files |
| twitter:image | https://avatars.githubusercontent.com/u/210184?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/210184?s=400&v=4 |
| og:image:alt | @ericsnowcurrently - here's a branch that removes just the imp module. It still has failures because of this pip issue.
Issue: gh-98040 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fea32d5b7276b841b7a803796d9715bc6cfb31ed549fdf9de2948ac25d12ba6 |
| 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 | f2d9f6432a5a115ec709295ae70623f33bb80aee |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/98573/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F98573%2Ffiles |
| 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%2F98573%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/98573/files |
| Reload | https://github.com/python/cpython/pull/98573/files |
| Reload | https://github.com/python/cpython/pull/98573/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/98573/files |
|
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/98573/files |
|
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 |
| warsaw | https://github.com/warsaw |
| python:main | https://github.com/python/cpython/tree/main |
| warsaw:remove-imp | https://github.com/warsaw/cpython/tree/remove-imp |
|
Conversation
26
| https://github.com/python/cpython/pull/98573 |
|
Commits
17
| https://github.com/python/cpython/pull/98573/commits |
|
Checks
0
| https://github.com/python/cpython/pull/98573/checks |
|
Files changed
| https://github.com/python/cpython/pull/98573/files |
| Please reload this page | https://github.com/python/cpython/pull/98573/files |
|
gh-98040: Remove just the imp module
| https://github.com/python/cpython/pull/98573/files#top |
|
Show all changes
17 commits
| https://github.com/python/cpython/pull/98573/files |
|
44cd65d
gh-98040: Remove just the `imp` module
warsaw Oct 23, 2022
| https://github.com/python/cpython/pull/98573/commits/44cd65dd8d96fe7662c904d3907ef0f9108f8104 |
|
e4f857d
Fix some markup
warsaw Oct 23, 2022
| https://github.com/python/cpython/pull/98573/commits/e4f857d2ba0cc2221f5b38eb1aaeda3980344403 |
|
cc469c4
Remove imp module documentation
warsaw Oct 23, 2022
| https://github.com/python/cpython/pull/98573/commits/cc469c4cb0df54ec918e2f334ad0455f0ee9763d |
|
b3c3517
Merge branch 'main' into remove-imp
warsaw Apr 11, 2023
| https://github.com/python/cpython/pull/98573/commits/b3c3517edc591ee2621c742508d3c2b6337c15d6 |
|
61991ef
Merge branch 'main' into remove-imp
warsaw Apr 14, 2023
| https://github.com/python/cpython/pull/98573/commits/61991efdea46838d139ab07db6ee92a55085c5f5 |
|
9652d2b
Merge branch 'main' into remove-imp
warsaw Apr 15, 2023
| https://github.com/python/cpython/pull/98573/commits/9652d2b93be777827079706044ebfb6f54c77258 |
|
bbaef14
Merge branch 'main' into remove-imp
warsaw Apr 19, 2023
| https://github.com/python/cpython/pull/98573/commits/bbaef14ab7fc98920a94c3d5d1460f51c3938795 |
|
c45ba31
Merge branch 'main' into remove-imp
warsaw Apr 19, 2023
| https://github.com/python/cpython/pull/98573/commits/c45ba315942f92511b4953cae4bac5f4b3b494ba |
|
eee4ae6
Merge branch 'main' into remove-imp
warsaw Apr 23, 2023
| https://github.com/python/cpython/pull/98573/commits/eee4ae670c814f21a651d12c51ae62b2e6dcc1c4 |
|
a2dfdbd
Merge branch 'main' into remove-imp
warsaw Apr 26, 2023
| https://github.com/python/cpython/pull/98573/commits/a2dfdbd74331b7163e4b2acc6c30e08bdb78dfbd |
|
c950cdd
Merge branch 'main' into remove-imp
warsaw Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/c950cdd1c7cd819fbe71857599903b7509b7e2d1 |
|
aab652a
Merge branch 'main' into remove-imp
warsaw Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/aab652a6ddea8d2f3f9fb39981c5d64806869f3e |
|
691c7f7
We can't reference :mod:`imp` now that it's been removed
warsaw Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/691c7f7e976ed7f864a66a21265f4d1d7d99e74f |
|
399da5b
Remove `imp` from stdlib_module_names.h
arhadthedev Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/399da5bc6698577d0152c6dfbab104cb26b30115 |
|
50bf954
Update the header file name in the comment
warsaw Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/50bf954996cafe9e56b018f2dfc1c13e96669134 |
|
f560b99
Remove additional references to the imp module
warsaw Apr 27, 2023
| https://github.com/python/cpython/pull/98573/commits/f560b9928321d317741ad88e6367dac409557a79 |
|
02bb156
Merge branch 'main' into remove-imp
warsaw Apr 28, 2023
| https://github.com/python/cpython/pull/98573/commits/02bb156e974dfa7f82b0d3f7f2f85302ca2bcb81 |
|
Clear filters
| https://github.com/python/cpython/pull/98573/files |
| Please reload this page | https://github.com/python/cpython/pull/98573/files |
| Please reload this page | https://github.com/python/cpython/pull/98573/files |
|
import.rst
| https://github.com/python/cpython/pull/98573/files#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
|
functions.rst
| https://github.com/python/cpython/pull/98573/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
imp.rst
| https://github.com/python/cpython/pull/98573/files#diff-1a4ee4fd7f1785b8bc5be2982e5b576f0ee6946657ec5c5f87fdcb5b34a56752 |
|
superseded.rst
| https://github.com/python/cpython/pull/98573/files#diff-507fd5e6fcbc78f19e7ca738c81e9a5efca6f244b999263f83e10524c45759e4 |
|
sys.rst
| https://github.com/python/cpython/pull/98573/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418 |
|
import.rst
| https://github.com/python/cpython/pull/98573/files#diff-a691e0a2b6cd3161c948365aa7aa3f73719c0a77724240331f9ce03e1a816c1d |
|
.nitignore
| https://github.com/python/cpython/pull/98573/files#diff-b7c84835b887ce2fbbbbdbfb8aaee3317c5b731ed4c6c4682e122de334984c9c |
|
3.12.rst
| https://github.com/python/cpython/pull/98573/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b |
|
imp.py
| https://github.com/python/cpython/pull/98573/files#diff-5b7d05748b6c9c75126f97ecd81a3eb3260d42c1cfa54c0d8a9e4f5a2133e7f0 |
|
pkgutil.py
| https://github.com/python/cpython/pull/98573/files#diff-e3a5404d4dde3df6e5929e107a0433b7210a777a74edda0a9dc4c0506002b832 |
|
pydoc.py
| https://github.com/python/cpython/pull/98573/files#diff-d2599cb4ccbf37634c5d3089a2750fc6c92c6c98d2a65861ff13d08ed3e9cff5 |
|
runpy.py
| https://github.com/python/cpython/pull/98573/files#diff-72dd047345100f53c18e1e6ddd50fe45539d22729d3208ed3371105e9157b29b |
|
test_imp.py
| https://github.com/python/cpython/pull/98573/files#diff-9cc86d54c09f71fd861c830da33b68edd68a35a0305e87ebdf9e0fd7ee6bbfe4 |
|
util.py
| https://github.com/python/cpython/pull/98573/files#diff-cf049d6640b726c9ac283091e9c41e52434c770bcd2efb92eb64bdd6e2816d5a |
|
test_pkgutil.py
| https://github.com/python/cpython/pull/98573/files#diff-c9a92724ba20dac2c6f1102f121515d51ad05d74a668bbb4b014d37b4f7a7b12 |
|
2022-10-21-17-20-57.gh-issue-98040.3btbmA.rst
| https://github.com/python/cpython/pull/98573/files#diff-59c887872ac6dff094b1830f96da71b4ebd610cf11c6420f728d214e56117a9d |
|
_testmultiphase.c
| https://github.com/python/cpython/pull/98573/files#diff-f131d2f9bbec4a8dcdcfa1509f5d01a9c39674a8caa646d5c9d5e08971fd6ce5 |
|
import.c
| https://github.com/python/cpython/pull/98573/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
makeopcodetargets.py
| https://github.com/python/cpython/pull/98573/files#diff-eade10d7508b3d0db0c6b37d1c6a39b140d2c60ad8441eab2d7e429c4c96f722 |
|
pylifecycle.c
| https://github.com/python/cpython/pull/98573/files#diff-69223f5bb01f359a23246afbbf75b45c622e719424418d658674fbb6c2b36fad |
|
stdlib_module_names.h
| https://github.com/python/cpython/pull/98573/files#diff-152e0a1d932d06bae2302482de6c49082b62169699729700d445d4f588504af5 |
|
generate_stdlib_module_names.py
| https://github.com/python/cpython/pull/98573/files#diff-8c629d9d60c68cfa960867b1065316f671b5e2419717287aad96bccbad533573 |
|
TODO
| https://github.com/python/cpython/pull/98573/files#diff-ee1f66e7c3ed4f6afeaffeb4ebd77fa907e5af216e546aedff64aa9dd2c91d21 |
|
importbench.py
| https://github.com/python/cpython/pull/98573/files#diff-e903d6834acfe75fc35fa35fdaf6d1cc150c6887ecc3b44f985c74bbe7baed2b |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L260 |
| Doc/c-api/import.rst | https://github.com/python/cpython/pull/98573/files#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
|
View file
| https://github.com/warsaw/cpython/blob/02bb156e974dfa7f82b0d3f7f2f85302ca2bcb81/Doc/c-api/import.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/98573/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/98573/files#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
|
| https://github.com/python/cpython/pull/98573/files#diff-e09055f4c5a7b5a9ba94cb40fd5a149c257cff5cb5ec64c20ae21f997110876b |
| Doc/library/functions.rst | https://github.com/python/cpython/pull/98573/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
View file
| https://github.com/warsaw/cpython/blob/02bb156e974dfa7f82b0d3f7f2f85302ca2bcb81/Doc/library/functions.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/98573/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/98573/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/pull/98573/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
| Please reload this page | https://github.com/python/cpython/pull/98573/files |
|
| 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 |