René's URL Explorer Experiment


Title: Re-implement parts of imp in pure Python · Issue #58167 · python/cpython · GitHub

Open Graph Title: Re-implement parts of imp in pure Python · Issue #58167 · python/cpython

X Title: Re-implement parts of imp in pure Python · Issue #58167 · python/cpython

Description: BPO 13959 Nosy @brettcannon, @birkenfeld, @pitrou, @vstinner, @benjaminp, @merwok, @meadori, @ericsnowcurrently, @berkerpeksag PRs #4736 Dependencies bpo-2377: Replace import w/ importlib.importbpo-14605: Make import machinery explicitbp...

Open Graph Description: BPO 13959 Nosy @brettcannon, @birkenfeld, @pitrou, @vstinner, @benjaminp, @merwok, @meadori, @ericsnowcurrently, @berkerpeksag PRs #4736 Dependencies bpo-2377: Replace import w/ importlib.importbpo...

X Description: BPO 13959 Nosy @brettcannon, @birkenfeld, @pitrou, @vstinner, @benjaminp, @merwok, @meadori, @ericsnowcurrently, @berkerpeksag PRs #4736 Dependencies bpo-2377: Replace import w/ importlib.importbpo...

Opengraph URL: https://github.com/python/cpython/issues/58167

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Re-implement parts of imp in pure Python","articleBody":"BPO | [13959](https://bugs.python.org/issue13959)\n--- | :---\nNosy | @brettcannon, @birkenfeld, @pitrou, @vstinner, @benjaminp, @merwok, @meadori, @ericsnowcurrently, @berkerpeksag\nPRs | \u003cli\u003epython/cpython#4736\u003c/li\u003e\nDependencies | \u003cli\u003ebpo-2377: Replace __import__ w/ importlib.__import__\u003c/li\u003e\u003cli\u003ebpo-14605: Make import machinery explicit\u003c/li\u003e\u003cli\u003ebpo-14657: Avoid two importlib copies\u003c/li\u003e\u003cli\u003ebpo-15166: Implement imp.get_tag() using sys.implementation\u003c/li\u003e\u003cli\u003ebpo-15167: Re-implement imp.get_magic() in pure Python\u003c/li\u003e\nFiles | \u003cli\u003e[imp.diff](https://bugs.python.org/file24846/imp.diff \"Uploaded as text/plain at 2012-03-14.20:52:28 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[imp.diff](https://bugs.python.org/file24979/imp.diff \"Uploaded as text/plain at 2012-03-21.05:42:31 by @ericsnowcurrently\")\u003c/li\u003e\u003cli\u003e[use_of_imp.txt](https://bugs.python.org/file24980/use_of_imp.txt \"Uploaded as text/plain at 2012-03-21.05:43:31 by @ericsnowcurrently\"): stdlib modules that use imp (could be refactored to use importlib)\u003c/li\u003e\u003cli\u003e[imp_find_module.diff](https://bugs.python.org/file25250/imp_find_module.diff \"Uploaded as text/plain at 2012-04-17.05:57:45 by @ericsnowcurrently\"): sketch of find_module() implementation\u003c/li\u003e\u003cli\u003e[issue13959_reload.diff](https://bugs.python.org/file25302/issue13959_reload.diff \"Uploaded as text/plain at 2012-04-22.07:41:32 by @ericsnowcurrently\"): port of _imp.reload() to imp.py\u003c/li\u003e\u003cli\u003e[issue13959_magic_and_tag.diff](https://bugs.python.org/file25303/issue13959_magic_and_tag.diff \"Uploaded as text/plain at 2012-04-22.10:40:21 by @ericsnowcurrently\"): one approach to moving the magic and tag code out of import.c\u003c/li\u003e\u003cli\u003e[explicit_meta_path.diff](https://bugs.python.org/file25308/explicit_meta_path.diff \"Uploaded as text/plain at 2012-04-23.04:22:26 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[explicit_path_hooks.diff](https://bugs.python.org/file25309/explicit_path_hooks.diff \"Uploaded as text/plain at 2012-04-23.04:22:51 by @brettcannon\")\u003c/li\u003e\u003cli\u003e[issue13959_magic.diff](https://bugs.python.org/file25335/issue13959_magic.diff \"Uploaded as text/plain at 2012-04-24.05:38:28 by @ericsnowcurrently\"): porting MAGIC to importlib\u003c/li\u003e\u003cli\u003e[issue13959_tag.diff](https://bugs.python.org/file25336/issue13959_tag.diff \"Uploaded as text/plain at 2012-04-24.05:40:09 by @ericsnowcurrently\"): porting TAG to importlib\u003c/li\u003e\u003cli\u003e[imptest.py](https://bugs.python.org/file25834/imptest.py \"Uploaded as text/plain at 2012-06-05.18:49:09 by jpe\")\u003c/li\u003e\u003cli\u003e[issue13959_get_tag.diff](https://bugs.python.org/file26058/issue13959_get_tag.diff \"Uploaded as text/plain at 2012-06-20.01:47:12 by @ericsnowcurrently\"): new TAG implementation using sys.implementation\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/brettcannon'\nclosed_at = \u003cDate 2012-07-09.20:23:48.007\u003e\ncreated_at = \u003cDate 2012-02-07.00:51:29.679\u003e\nlabels = ['library', 'release-blocker']\ntitle = 'Re-implement parts of imp in pure Python'\nupdated_at = \u003cDate 2017-12-06.16:25:57.617\u003e\nuser = 'https://github.com/brettcannon'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2017-12-06.16:25:57.617\u003e\nactor = 'vstinner'\nassignee = 'brett.cannon'\nclosed = True\nclosed_date = \u003cDate 2012-07-09.20:23:48.007\u003e\ncloser = 'brett.cannon'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-02-07.00:51:29.679\u003e\ncreator = 'brett.cannon'\ndependencies = ['2377', '14605', '14657', '15166', '15167']\nfiles = ['24846', '24979', '24980', '25250', '25302', '25303', '25308', '25309', '25335', '25336', '25834', '26058']\nhgrepos = []\nissue_num = 13959\nkeywords = ['patch']\nmessage_count = 76.0\nmessages = ['152800', '155790', '156473', '156474', '156475', '156527', '156530', '156964', '158269', '158362', '158364', '158365', '158370', '158371', '158377', '158383', '158398', '158474', '158522', '158531', '158555', '158575', '158593', '158594', '158622', '158628', '158704', '158895', '158908', '158930', '158931', '158939', '158941', '158951', '158955', '158968', '158971', '158985', '158986', '158995', '158998', '158999', '159118', '159119', '159628', '159630', '159631', '159641', '159644', '159757', '159758', '159960', '159962', '159969', '160424', '160433', '160434', '160439', '160493', '160495', '160524', '162276', '162356', '162357', '162364', '162384', '162940', '163212', '163232', '163569', '163798', '164102', '165116', '165120', '165148', '307747']\nnosy_count = 12.0\nnosy_names = ['brett.cannon', 'georg.brandl', 'jpe', 'pitrou', 'vstinner', 'benjamin.peterson', 'eric.araujo', 'Arfrever', 'meador.inge', 'python-dev', 'eric.snow', 'berker.peksag']\npr_nums = ['4736']\npriority = 'release blocker'\nresolution = 'fixed'\nstage = 'needs patch'\nstatus = 'closed'\nsuperseder = None\ntype = None\nurl = 'https://bugs.python.org/issue13959'\nversions = ['Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/brettcannon","@type":"Person","name":"brettcannon"},"datePublished":"2012-02-07T00:51:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":76},"url":"https://github.com/58167/cpython/issues/58167"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2b712f2e-514c-53ed-03ad-6d299e1c17da
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCDAC:1960:24DDD6D:3548B69:6A4FAE26
html-safe-nonced3db9be37f075333c82b7cda53e1388b5a592649f172162f1bcb4fe975603832
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREFDOjE5NjA6MjREREQ2RDozNTQ4QjY5OjZBNEZBRTI2IiwidmlzaXRvcl9pZCI6IjMxNDI1NDYyOTQzMDU2OTczMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf73dee9c8c10f8c850edc0101b13119bfac85bfc774e12d01ee8365e51c9af99
hovercard-subject-tagissue:1198877375
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/58167/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ba17bae524555bba61b62a110d47a7a837ea55a6c49f630306f3592e08e9a93b/python/cpython/issues/58167
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba17bae524555bba61b62a110d47a7a837ea55a6c49f630306f3592e08e9a93b/python/cpython/issues/58167
og:image:altBPO 13959 Nosy @brettcannon, @birkenfeld, @pitrou, @vstinner, @benjaminp, @merwok, @meadori, @ericsnowcurrently, @berkerpeksag PRs #4736 Dependencies bpo-2377: Replace import w/ importlib.importbpo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrettcannon
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/58167#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F58167
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fissues%2F58167
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/58167
Reloadhttps://github.com/python/cpython/issues/58167
Reloadhttps://github.com/python/cpython/issues/58167
Please reload this pagehttps://github.com/python/cpython/issues/58167
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/58167
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Re-implement parts of imp in pure Pythonhttps://github.com/python/cpython/issues/58167#top
https://github.com/brettcannon
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
on Feb 7, 2012https://github.com/python/cpython/issues/58167#issue-1198877375
13959https://bugs.python.org/issue13959
@brettcannonhttps://github.com/brettcannon
@birkenfeldhttps://github.com/birkenfeld
@pitrouhttps://github.com/pitrou
@vstinnerhttps://github.com/vstinner
@benjaminphttps://github.com/benjaminp
@merwokhttps://github.com/merwok
@meadorihttps://github.com/meadori
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
@berkerpeksaghttps://github.com/berkerpeksag
bpo-32030: pass interp to _PyImport_Init() #4736https://github.com/python/cpython/pull/4736
bpo-2377https://bugs.python.org/issue?@action=redirect&bpo=2377
bpo-14605https://bugs.python.org/issue?@action=redirect&bpo=14605
bpo-14657https://bugs.python.org/issue?@action=redirect&bpo=14657
bpo-15166https://bugs.python.org/issue?@action=redirect&bpo=15166
bpo-15167https://bugs.python.org/issue?@action=redirect&bpo=15167
imp.diffhttps://bugs.python.org/file24846/imp.diff
imp.diffhttps://bugs.python.org/file24979/imp.diff
use_of_imp.txthttps://bugs.python.org/file24980/use_of_imp.txt
imp_find_module.diffhttps://bugs.python.org/file25250/imp_find_module.diff
issue13959_reload.diffhttps://bugs.python.org/file25302/issue13959_reload.diff
issue13959_magic_and_tag.diffhttps://bugs.python.org/file25303/issue13959_magic_and_tag.diff
explicit_meta_path.diffhttps://bugs.python.org/file25308/explicit_meta_path.diff
explicit_path_hooks.diffhttps://bugs.python.org/file25309/explicit_path_hooks.diff
issue13959_magic.diffhttps://bugs.python.org/file25335/issue13959_magic.diff
issue13959_tag.diffhttps://bugs.python.org/file25336/issue13959_tag.diff
imptest.pyhttps://bugs.python.org/file25834/imptest.py
issue13959_get_tag.diffhttps://bugs.python.org/file26058/issue13959_get_tag.diff
brettcannonhttps://github.com/brettcannon
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.