René's URL Explorer Experiment


Title: Modernize import hook by BadSingleton · Pull Request #1369 · pythonnet/pythonnet · GitHub

Open Graph Title: Modernize import hook by BadSingleton · Pull Request #1369 · pythonnet/pythonnet

X Title: Modernize import hook by BadSingleton · Pull Request #1369 · pythonnet/pythonnet

Description: Python for .NET is a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers. - Modernize import hook by BadSingleton · Pull Request #1369 · pythonnet/pythonnet

Open Graph Description: What does this implement/fix? Explain your changes. This replaces the current import hook replacement with a MetaPathFinder, letting python handle non-CLR module import. Does this close any current...

X Description: What does this implement/fix? Explain your changes. This replaces the current import hook replacement with a MetaPathFinder, letting python handle non-CLR module import. Does this close any current...

Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1369

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:747b95fb-6af5-000b-c095-5e54b1804d8a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD34:EAD41:FB0166:15CD847:6970C75B
html-safe-noncefdd50a2b734cc8f71690e1bacab30a648d5aa5b152cf167384a132928cedadde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDM0OkVBRDQxOkZCMDE2NjoxNUNEODQ3OjY5NzBDNzVCIiwidmlzaXRvcl9pZCI6IjkwMzU3MzYxNzAyNzU4NTAwNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacff84e0f661e0905a1e1af356d8a1dbe014fd1d347ffaaea5b4ae2915ede705c2
hovercard-subject-tagpull_request:561318661
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/1369/commits
twitter:imagehttps://opengraph.githubassets.com/ff85e52a5d91810799d3f369e28855c20e8551554ab222a32323394285276d92/pythonnet/pythonnet/pull/1369
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ff85e52a5d91810799d3f369e28855c20e8551554ab222a32323394285276d92/pythonnet/pythonnet/pull/1369
og:image:altWhat does this implement/fix? Explain your changes. This replaces the current import hook replacement with a MetaPathFinder, letting python handle non-CLR module import. Does this close any current...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBadSingleton
hostnamegithub.com
expected-hostnamegithub.com
None721764876e433c894814212f8100f6610f1dde78a987acc2e385d8be8e170e9c
turbo-cache-controlno-cache
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
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
release6ff3d08f4ee1c3f89ebedf4df8fc8fe851190294
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/pull/1369/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F1369%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpythonnet%2Fpythonnet%2Fpull%2F1369%2Fcommits
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%2Fcommits&source=header-repo&source_repo=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/pull/1369/commits
Reloadhttps://github.com/pythonnet/pythonnet/pull/1369/commits
Reloadhttps://github.com/pythonnet/pythonnet/pull/1369/commits
pythonnet https://github.com/pythonnet
pythonnethttps://github.com/pythonnet/pythonnet
Notifications https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://github.com/pythonnet/pythonnet
Issues 155 https://github.com/pythonnet/pythonnet/issues
Pull requests 18 https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects 0 https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/pythonnet/pythonnet/security
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1369/commits
Insights https://github.com/pythonnet/pythonnet/pulse
Code https://github.com/pythonnet/pythonnet
Issues https://github.com/pythonnet/pythonnet/issues
Pull requests https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security https://github.com/pythonnet/pythonnet/security
Insights https://github.com/pythonnet/pythonnet/pulse
filmorhttps://github.com/filmor
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
Unity-Technologies:modernize-import-hookhttps://github.com/Unity-Technologies/pythonnet/tree/modernize-import-hook
Conversationhttps://github.com/pythonnet/pythonnet/pull/1369
Commits21 (21)https://github.com/pythonnet/pythonnet/pull/1369/commits
Checkshttps://github.com/pythonnet/pythonnet/pull/1369/checks
Files changedhttps://github.com/pythonnet/pythonnet/pull/1369/files
Modernize import hookhttps://github.com/pythonnet/pythonnet/pull/1369/commits#top
filmorhttps://github.com/filmor
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
Unity-Technologies:modernize-import-hookhttps://github.com/Unity-Technologies/pythonnet/tree/modernize-import-hook
(WIP) modernize the import hookhttps://github.com/pythonnet/pythonnet/pull/1369/commits/a321daa0147a49984a1df027df9d3f6104e77950
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
a321daahttps://github.com/pythonnet/pythonnet/pull/1369/commits/a321daa0147a49984a1df027df9d3f6104e77950
https://github.com/pythonnet/pythonnet/tree/a321daa0147a49984a1df027df9d3f6104e77950
Add the loaded namespaces trackinghttps://github.com/pythonnet/pythonnet/pull/1369/commits/279b53546d358582ac9b22ef12b5ad74ba35b064
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
279b535https://github.com/pythonnet/pythonnet/pull/1369/commits/279b53546d358582ac9b22ef12b5ad74ba35b064
https://github.com/pythonnet/pythonnet/tree/279b53546d358582ac9b22ef12b5ad74ba35b064
cleanup and changelog entryhttps://github.com/pythonnet/pythonnet/pull/1369/commits/f92e95b39dc67979dcc17497edfe99873a17bbce
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
f92e95bhttps://github.com/pythonnet/pythonnet/pull/1369/commits/f92e95b39dc67979dcc17497edfe99873a17bbce
https://github.com/pythonnet/pythonnet/tree/f92e95b39dc67979dcc17497edfe99873a17bbce
Fix a bug where clr wasn't in sys.modules after reloadhttps://github.com/pythonnet/pythonnet/pull/1369/commits/afffc187515fa7c8e725f2e0cc592cc04966ef7c
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
afffc18https://github.com/pythonnet/pythonnet/pull/1369/commits/afffc187515fa7c8e725f2e0cc592cc04966ef7c
https://github.com/pythonnet/pythonnet/tree/afffc187515fa7c8e725f2e0cc592cc04966ef7c
Further refinements to setattr logic on ModuleObjectshttps://github.com/pythonnet/pythonnet/pull/1369/commits/d821c0f7094f92508babc4dc7168f133f12894cd
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
d821c0fhttps://github.com/pythonnet/pythonnet/pull/1369/commits/d821c0f7094f92508babc4dc7168f133f12894cd
https://github.com/pythonnet/pythonnet/tree/d821c0f7094f92508babc4dc7168f133f12894cd
fixups, add docshttps://github.com/pythonnet/pythonnet/pull/1369/commits/e469a8a73cfc0870cb56ba0368cff44c3938dd24
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
e469a8ahttps://github.com/pythonnet/pythonnet/pull/1369/commits/e469a8a73cfc0870cb56ba0368cff44c3938dd24
https://github.com/pythonnet/pythonnet/tree/e469a8a73cfc0870cb56ba0368cff44c3938dd24
merge fixuphttps://github.com/pythonnet/pythonnet/pull/1369/commits/685b972001d2186e60d41f7a42959f74e6e8a5e0
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
685b972https://github.com/pythonnet/pythonnet/pull/1369/commits/685b972001d2186e60d41f7a42959f74e6e8a5e0
https://github.com/pythonnet/pythonnet/tree/685b972001d2186e60d41f7a42959f74e6e8a5e0
(WIP) import hook in the pytohn modulehttps://github.com/pythonnet/pythonnet/pull/1369/commits/be8136448e1220f2a3ea93f7243c2f4a8eaa6237
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
be81364https://github.com/pythonnet/pythonnet/pull/1369/commits/be8136448e1220f2a3ea93f7243c2f4a8eaa6237
https://github.com/pythonnet/pythonnet/tree/be8136448e1220f2a3ea93f7243c2f4a8eaa6237
Revert "(WIP) import hook in the pytohn module"https://github.com/pythonnet/pythonnet/pull/1369/commits/73958ed239b21cc71c0206c3e5ffcc45ed7aa182
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
73958edhttps://github.com/pythonnet/pythonnet/pull/1369/commits/73958ed239b21cc71c0206c3e5ffcc45ed7aa182
https://github.com/pythonnet/pythonnet/tree/73958ed239b21cc71c0206c3e5ffcc45ed7aa182
Import hook as a module, take 2https://github.com/pythonnet/pythonnet/pull/1369/commits/e71a0ef90414bd2cde21901ed3956251fccc4753
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
e71a0efhttps://github.com/pythonnet/pythonnet/pull/1369/commits/e71a0ef90414bd2cde21901ed3956251fccc4753
https://github.com/pythonnet/pythonnet/tree/e71a0ef90414bd2cde21901ed3956251fccc4753
fixup! Merge remote-tracking branch 'origin/master' into modernize-import-hookhttps://github.com/pythonnet/pythonnet/pull/1369/commits/2af066db6da89e3cad1119b9d4408c24f533e6ae
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
2af066dhttps://github.com/pythonnet/pythonnet/pull/1369/commits/2af066db6da89e3cad1119b9d4408c24f533e6ae
https://github.com/pythonnet/pythonnet/tree/2af066db6da89e3cad1119b9d4408c24f533e6ae
fixup! fixup! Merge remote-tracking branch 'origin/master' into modernize-import-hookhttps://github.com/pythonnet/pythonnet/pull/1369/commits/bb490bf5f324f6f63f68bfb5cdb231f1d9934e63
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
bb490bfhttps://github.com/pythonnet/pythonnet/pull/1369/commits/bb490bf5f324f6f63f68bfb5cdb231f1d9934e63
https://github.com/pythonnet/pythonnet/tree/bb490bf5f324f6f63f68bfb5cdb231f1d9934e63
Create a clr.loader modulehttps://github.com/pythonnet/pythonnet/pull/1369/commits/31ea87698811ac382243f7328bc0885bfb4e5c75
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
31ea876https://github.com/pythonnet/pythonnet/pull/1369/commits/31ea87698811ac382243f7328bc0885bfb4e5c75
https://github.com/pythonnet/pythonnet/tree/31ea87698811ac382243f7328bc0885bfb4e5c75
Test to test if the test passeshttps://github.com/pythonnet/pythonnet/pull/1369/commits/c02d5c626a400d4d0f2847d24ba958b0fc7af97a
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
c02d5c6https://github.com/pythonnet/pythonnet/pull/1369/commits/c02d5c626a400d4d0f2847d24ba958b0fc7af97a
https://github.com/pythonnet/pythonnet/tree/c02d5c626a400d4d0f2847d24ba958b0fc7af97a
fix new exception usagehttps://github.com/pythonnet/pythonnet/pull/1369/commits/970a18904675dbc6677b0d4262c72290c9ea9896
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
970a189https://github.com/pythonnet/pythonnet/pull/1369/commits/970a18904675dbc6677b0d4262c72290c9ea9896
https://github.com/pythonnet/pythonnet/tree/970a18904675dbc6677b0d4262c72290c9ea9896
kick the build because I can't reprohttps://github.com/pythonnet/pythonnet/pull/1369/commits/059605bc249cbd7ca2e92e0aa642f8da6b3c3eaf
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
059605bhttps://github.com/pythonnet/pythonnet/pull/1369/commits/059605bc249cbd7ca2e92e0aa642f8da6b3c3eaf
https://github.com/pythonnet/pythonnet/tree/059605bc249cbd7ca2e92e0aa642f8da6b3c3eaf
Add Namespaces to the import hook only through AddReferencehttps://github.com/pythonnet/pythonnet/pull/1369/commits/ff170e99b78ef411e54efd4d2d429799670d043f
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
ff170e9https://github.com/pythonnet/pythonnet/pull/1369/commits/ff170e99b78ef411e54efd4d2d429799670d043f
https://github.com/pythonnet/pythonnet/tree/ff170e99b78ef411e54efd4d2d429799670d043f
Review changes, update API usagehttps://github.com/pythonnet/pythonnet/pull/1369/commits/63de923a44259732525810bcbcca93bb963d0b9d
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
63de923https://github.com/pythonnet/pythonnet/pull/1369/commits/63de923a44259732525810bcbcca93bb963d0b9d
https://github.com/pythonnet/pythonnet/tree/63de923a44259732525810bcbcca93bb963d0b9d
Merge remote-tracking branch 'upstream/master' into modernize-import-hookhttps://github.com/pythonnet/pythonnet/pull/1369/commits/624f7e337a1ca2593133b86d6707deeb102d98df
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
624f7e3https://github.com/pythonnet/pythonnet/pull/1369/commits/624f7e337a1ca2593133b86d6707deeb102d98df
https://github.com/pythonnet/pythonnet/tree/624f7e337a1ca2593133b86d6707deeb102d98df
make PyModule_AddObject in line with CPythonhttps://github.com/pythonnet/pythonnet/pull/1369/commits/bd7e7450847dec33f9906d95270eae61fb8eead6
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
bd7e745https://github.com/pythonnet/pythonnet/pull/1369/commits/bd7e7450847dec33f9906d95270eae61fb8eead6
https://github.com/pythonnet/pythonnet/tree/bd7e7450847dec33f9906d95270eae61fb8eead6
take care of stragglershttps://github.com/pythonnet/pythonnet/pull/1369/commits/46a85fedd1197a3ff3d4f2df337e5d900639b696
https://github.com/BadSingleton
BadSingletonhttps://github.com/pythonnet/pythonnet/commits?author=BadSingleton
46a85fehttps://github.com/pythonnet/pythonnet/pull/1369/commits/46a85fedd1197a3ff3d4f2df337e5d900639b696
https://github.com/pythonnet/pythonnet/tree/46a85fedd1197a3ff3d4f2df337e5d900639b696
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.