René's URL Explorer Experiment


Title: ABI.Initialize gives a helpful message when the TypeOffset interop class is not configured correctly by tminka · Pull Request #1340 · pythonnet/pythonnet · GitHub

Open Graph Title: ABI.Initialize gives a helpful message when the TypeOffset interop class is not configured correctly by tminka · Pull Request #1340 · pythonnet/pythonnet

X Title: ABI.Initialize gives a helpful message when the TypeOffset interop class is not configured correctly by tminka · Pull Request #1340 · pythonnet/pythonnet

Description: What does this implement/fix? Explain your changes. When changing Python versions, it is easy to put Python.NET into a misconfigured state. This PR provides a helpful error message in that case. Does this close any currently open issues? No Any other comments? This change can be tested by manually editing configured.props to have an incorrect PythonInteropFile Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Add yourself to AUTHORS Updated the CHANGELOG

Open Graph Description: What does this implement/fix? Explain your changes. When changing Python versions, it is easy to put Python.NET into a misconfigured state. This PR provides a helpful error message in that case. D...

X Description: What does this implement/fix? Explain your changes. When changing Python versions, it is easy to put Python.NET into a misconfigured state. This PR provides a helpful error message in that case. D...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7ca0eadd-425d-9eda-5b96-5e87009488d1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB7A:37D417:30473F9:30F127D:69702E0C
html-safe-nonce63476ad26df40c1fe342b323f46215e620dc0e1b149f4c5315728110ae42c64d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjdBOjM3RDQxNzozMDQ3M0Y5OjMwRjEyN0Q6Njk3MDJFMEMiLCJ2aXNpdG9yX2lkIjoiNjg5MDE0MzkwNTYxMzg4NDk0MCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmacb201dafdd9f438c589fc7b4215c2971f5dbca87c2e064bb6a3078674000da468
hovercard-subject-tagpull_request:547114353
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/1340/files
twitter:imagehttps://avatars.githubusercontent.com/u/8955276?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/8955276?s=400&v=4
og:image:altWhat does this implement/fix? Explain your changes. When changing Python versions, it is easy to put Python.NET into a misconfigured state. This PR provides a helpful error message in that case. D...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedda91974c069382b0dfa47b2da7e28bd061c8331
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/pull/1340/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F1340%2Ffiles
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%2F1340%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=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/pull/1340/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/1340/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/1340/files
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/1340/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
lostmsuhttps://github.com/lostmsu
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
tminka:initializehttps://github.com/tminka/pythonnet/tree/initialize
Conversation 14 https://github.com/pythonnet/pythonnet/pull/1340
Commits 7 https://github.com/pythonnet/pythonnet/pull/1340/commits
Checks 0 https://github.com/pythonnet/pythonnet/pull/1340/checks
Files changed https://github.com/pythonnet/pythonnet/pull/1340/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1340/files
ABI.Initialize gives a helpful message when the TypeOffset interop class is not configured correctly https://github.com/pythonnet/pythonnet/pull/1340/files#top
Show all changes 7 commits https://github.com/pythonnet/pythonnet/pull/1340/files
8f66882 Initialize gives a helpful message when the TypeOffset interop class … tminka Dec 30, 2020 https://github.com/pythonnet/pythonnet/pull/1340/commits/8f66882e3abe91feeaf95819f242327c25fe143e
f82d963 Changed advice to run 'python setup.py configure' tminka Dec 31, 2020 https://github.com/pythonnet/pythonnet/pull/1340/commits/f82d9633bbbf5e23f2196ac9886111bfea78e7d5
f59e5d0 Added LoadNativeTypeOffsetClass tminka Jan 1, 2021 https://github.com/pythonnet/pythonnet/pull/1340/commits/f59e5d0e392dbba4e319c5c1a44ca33cb08f43fa
16042e8 Python.Runtime.csproj includes PythonInteropFile tminka Jan 3, 2021 https://github.com/pythonnet/pythonnet/pull/1340/commits/16042e8e35461086fcc5dd1053d520e999a572fc
48c63e7 LoadNativeTypeOffsetClass checks for sys.abiflags tminka Jan 3, 2021 https://github.com/pythonnet/pythonnet/pull/1340/commits/48c63e779734a2b84fdd441dfba4e9b4c6dddbbe
3590d06 Fix typeName in LoadNativeTypeOffsetClass tminka Jan 3, 2021 https://github.com/pythonnet/pythonnet/pull/1340/commits/3590d06b55d46dd9a609eb363203ecd74be1e292
7701005 Remove reference to PythonInteropFile tminka Jan 3, 2021 https://github.com/pythonnet/pythonnet/pull/1340/commits/7701005fb0237c53b9fbcaea39977d438bdae565
Clear filters https://github.com/pythonnet/pythonnet/pull/1340/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1340/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1340/files
Python.EmbeddingTest.csproj https://github.com/pythonnet/pythonnet/pull/1340/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7
TestNativeTypeOffset.cs https://github.com/pythonnet/pythonnet/pull/1340/files#diff-48f283d3389166e76d8b9a213ba6c6f35919fc91fa971a954c5627500227a127
Python.Runtime.csproj https://github.com/pythonnet/pythonnet/pull/1340/files#diff-ea0799bb2df39c199e3dfc666fddf421f382b9bde4c7c4d558f0e2700eb09bad
ABI.cs https://github.com/pythonnet/pythonnet/pull/1340/files#diff-d700cc75515df6b2917b1cf4e43069a0cbbdf5f2f47c08694e8a1b13840cff87
src/embed_tests/Python.EmbeddingTest.csprojhttps://github.com/pythonnet/pythonnet/pull/1340/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7
View file https://github.com/tminka/pythonnet/blob/7701005fb0237c53b9fbcaea39977d438bdae565/src/embed_tests/Python.EmbeddingTest.csproj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1340/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-6bfe85b2afa32799eb0008c63c2ab5372012dba8bf12ffb8c3441fafc57d5ac7
src/embed_tests/TestNativeTypeOffset.cshttps://github.com/pythonnet/pythonnet/pull/1340/files#diff-48f283d3389166e76d8b9a213ba6c6f35919fc91fa971a954c5627500227a127
View file https://github.com/tminka/pythonnet/blob/7701005fb0237c53b9fbcaea39977d438bdae565/src/embed_tests/TestNativeTypeOffset.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1340/{{ revealButtonHref }}
src/runtime/Python.Runtime.csprojhttps://github.com/pythonnet/pythonnet/pull/1340/files#diff-ea0799bb2df39c199e3dfc666fddf421f382b9bde4c7c4d558f0e2700eb09bad
View file https://github.com/tminka/pythonnet/blob/7701005fb0237c53b9fbcaea39977d438bdae565/src/runtime/Python.Runtime.csproj
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1340/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-ea0799bb2df39c199e3dfc666fddf421f382b9bde4c7c4d558f0e2700eb09bad
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1340/files
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-ea0799bb2df39c199e3dfc666fddf421f382b9bde4c7c4d558f0e2700eb09bad
src/runtime/native/ABI.cshttps://github.com/pythonnet/pythonnet/pull/1340/files#diff-d700cc75515df6b2917b1cf4e43069a0cbbdf5f2f47c08694e8a1b13840cff87
View file https://github.com/tminka/pythonnet/blob/7701005fb0237c53b9fbcaea39977d438bdae565/src/runtime/native/ABI.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1340/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-d700cc75515df6b2917b1cf4e43069a0cbbdf5f2f47c08694e8a1b13840cff87
https://github.com/pythonnet/pythonnet/pull/1340/files#diff-d700cc75515df6b2917b1cf4e43069a0cbbdf5f2f47c08694e8a1b13840cff87
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.