René's URL Explorer Experiment


Title: Codecs: customize set of Py<->C# conversions via PyObjectConversions by lostmsu · Pull Request #1022 · pythonnet/pythonnet · GitHub

Open Graph Title: Codecs: customize set of Py<->C# conversions via PyObjectConversions by lostmsu · Pull Request #1022 · pythonnet/pythonnet

X Title: Codecs: customize set of Py<->C# conversions via PyObjectConversions by lostmsu · Pull Request #1022 · 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. - Codecs: customize set of Py<->C# conversions via PyObjectConversions by lostmsu · Pull Request #1022 · pythonnet/pythonnet

Open Graph Description: What does this implement/fix? Explain your changes. This enables registering new automatic Py->C# and C#->Py conversions (codecs), that will run when Python calls .NET code and vice versa. Do...

X Description: What does this implement/fix? Explain your changes. This enables registering new automatic Py-&gt;C# and C#-&gt;Py conversions (codecs), that will run when Python calls .NET code and vice v...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:1230b1a3-2cdd-8873-bfaf-52fbe29ef29c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA278:143651:442442D:5F174C8:697146EE
html-safe-nonce75b67713dd55fe041bdd8c3f31fbdbc54cbc7ed8941e53487e31f0d6eecc151f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjc4OjE0MzY1MTo0NDI0NDJEOjVGMTc0Qzg6Njk3MTQ2RUUiLCJ2aXNpdG9yX2lkIjoiNjQ4NDcxMDU2NzgwODQxOTU2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac79b91116565b04728c382fce355259685202895adf3a1924a1b17b48151ac0fd
hovercard-subject-tagpull_request:355404326
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/1022/commits
twitter:imagehttps://opengraph.githubassets.com/2ce7300e6cbe97d3128d18b6bb391240b57035f83175cc0b4738c3e50425e6bb/pythonnet/pythonnet/pull/1022
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2ce7300e6cbe97d3128d18b6bb391240b57035f83175cc0b4738c3e50425e6bb/pythonnet/pythonnet/pull/1022
og:image:altWhat does this implement/fix? Explain your changes. This enables registering new automatic Py->C# and C#->Py conversions (codecs), that will run when Python calls .NET code and vice versa. Do...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelostmsu
hostnamegithub.com
expected-hostnamegithub.com
None9bd14a55b65b030988a89787ed340c0f040258c3240af6941d85f740f21629a0
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
release24a7109a3a584a05e29240fcc1ba60220deccdb8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/pull/1022/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F1022%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%2F1022%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/1022/commits
Reloadhttps://github.com/pythonnet/pythonnet/pull/1022/commits
Reloadhttps://github.com/pythonnet/pythonnet/pull/1022/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/1022/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
lostmsuhttps://github.com/lostmsu
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
losttech:PR/Codecshttps://github.com/losttech/pythonnet/tree/PR/Codecs
Conversationhttps://github.com/pythonnet/pythonnet/pull/1022
Commits17 (17)https://github.com/pythonnet/pythonnet/pull/1022/commits
Checkshttps://github.com/pythonnet/pythonnet/pull/1022/checks
Files changedhttps://github.com/pythonnet/pythonnet/pull/1022/files
Codecs: customize set of Py<->C# conversions via PyObjectConversionshttps://github.com/pythonnet/pythonnet/pull/1022/commits#top
lostmsuhttps://github.com/lostmsu
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
losttech:PR/Codecshttps://github.com/losttech/pythonnet/tree/PR/Codecs
enable expanding set of marshaling conversions via PyObjectConversionshttps://github.com/pythonnet/pythonnet/pull/1022/commits/28143d5f348a0edd891a2d8fa5249f7aab98582f
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
28143d5https://github.com/pythonnet/pythonnet/pull/1022/commits/28143d5f348a0edd891a2d8fa5249f7aab98582f
https://github.com/pythonnet/pythonnet/tree/28143d5f348a0edd891a2d8fa5249f7aab98582f
fixed ConversionsObject test failing due to sequence to array conversion taking priorityhttps://github.com/pythonnet/pythonnet/pull/1022/commits/6eca16943968219c42337757b45564f1dd8e6cc8
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
6eca169https://github.com/pythonnet/pythonnet/pull/1022/commits/6eca16943968219c42337757b45564f1dd8e6cc8
https://github.com/pythonnet/pythonnet/tree/6eca16943968219c42337757b45564f1dd8e6cc8
attempt to fix CI build issue with ValueTuple under Monohttps://github.com/pythonnet/pythonnet/pull/1022/commits/97e33c74482feb8421151c6902ff988e8aba16c7
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
97e33c7https://github.com/pythonnet/pythonnet/pull/1022/commits/97e33c74482feb8421151c6902ff988e8aba16c7
https://github.com/pythonnet/pythonnet/tree/97e33c74482feb8421151c6902ff988e8aba16c7
added RefereneAssemblies package reference to fix CI buildhttps://github.com/pythonnet/pythonnet/pull/1022/commits/449338f0196aa9ba4e8846537cb22a4cb6948019
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
449338fhttps://github.com/pythonnet/pythonnet/pull/1022/commits/449338f0196aa9ba4e8846537cb22a4cb6948019
https://github.com/pythonnet/pythonnet/tree/449338f0196aa9ba4e8846537cb22a4cb6948019
marked the new codecs API as unstablehttps://github.com/pythonnet/pythonnet/pull/1022/commits/39b2347e10b11f23747d45f9e0f2c4a0624d61b7
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
39b2347https://github.com/pythonnet/pythonnet/pull/1022/commits/39b2347e10b11f23747d45f9e0f2c4a0624d61b7
https://github.com/pythonnet/pythonnet/tree/39b2347e10b11f23747d45f9e0f2c4a0624d61b7
attempt to fix PyScopeTest.TestThread() reading stale value from res in Python 2.7 x64https://github.com/pythonnet/pythonnet/pull/1022/commits/daa2901b13233df80d92c25b474640ac0fd37e3d
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
daa2901https://github.com/pythonnet/pythonnet/pull/1022/commits/daa2901b13233df80d92c25b474640ac0fd37e3d
https://github.com/pythonnet/pythonnet/tree/daa2901b13233df80d92c25b474640ac0fd37e3d
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/e8e3b4b7b2fea2268698cb583d2f0ef49d732656
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
e8e3b4bhttps://github.com/pythonnet/pythonnet/pull/1022/commits/e8e3b4b7b2fea2268698cb583d2f0ef49d732656
https://github.com/pythonnet/pythonnet/tree/e8e3b4b7b2fea2268698cb583d2f0ef49d732656
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/8818610e2a3390223d220249ff1614c9d214e404
https://github.com/filmor
filmorhttps://github.com/pythonnet/pythonnet/commits?author=filmor
8818610https://github.com/pythonnet/pythonnet/pull/1022/commits/8818610e2a3390223d220249ff1614c9d214e404
https://github.com/pythonnet/pythonnet/tree/8818610e2a3390223d220249ff1614c9d214e404
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/82f6b995c02c682db20122a9bb8b4f7c78180a74
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
82f6b99https://github.com/pythonnet/pythonnet/pull/1022/commits/82f6b995c02c682db20122a9bb8b4f7c78180a74
https://github.com/pythonnet/pythonnet/tree/82f6b995c02c682db20122a9bb8b4f7c78180a74
fixed bad IncRef after PyTuple_Newhttps://github.com/pythonnet/pythonnet/pull/1022/commits/ec982097e21ff7bddf8e78aa8b3d9b7662f8f70a
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
ec98209https://github.com/pythonnet/pythonnet/pull/1022/commits/ec982097e21ff7bddf8e78aa8b3d9b7662f8f70a
https://github.com/pythonnet/pythonnet/tree/ec982097e21ff7bddf8e78aa8b3d9b7662f8f70a
corrected reference counting in Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/50a3822bf49f6e99a0b96a78b89af26fd32e0fcc
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
50a3822https://github.com/pythonnet/pythonnet/pull/1022/commits/50a3822bf49f6e99a0b96a78b89af26fd32e0fcc
https://github.com/pythonnet/pythonnet/tree/50a3822bf49f6e99a0b96a78b89af26fd32e0fcc
don't dispose encoded object in case codec keeps a cache of themhttps://github.com/pythonnet/pythonnet/pull/1022/commits/2e19f2c3d3a40502968a77149f4a62a590fdb9a3
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
2e19f2chttps://github.com/pythonnet/pythonnet/pull/1022/commits/2e19f2c3d3a40502968a77149f4a62a590fdb9a3
https://github.com/pythonnet/pythonnet/tree/2e19f2c3d3a40502968a77149f4a62a590fdb9a3
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/44bfec27c645521cc1a5d86161cd4f2489e9001c
https://github.com/filmor
filmorhttps://github.com/pythonnet/pythonnet/commits?author=filmor
44bfec2https://github.com/pythonnet/pythonnet/pull/1022/commits/44bfec27c645521cc1a5d86161cd4f2489e9001c
https://github.com/pythonnet/pythonnet/tree/44bfec27c645521cc1a5d86161cd4f2489e9001c
do not dispose object, that might have been just decoded succesfully, as the decoded object might store a reference to the original PyObjecthttps://github.com/pythonnet/pythonnet/pull/1022/commits/399ae545c9c6a4ab0a0f1713e41eb1c41c889ca4
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
399ae54https://github.com/pythonnet/pythonnet/pull/1022/commits/399ae545c9c6a4ab0a0f1713e41eb1c41c889ca4
https://github.com/pythonnet/pythonnet/tree/399ae545c9c6a4ab0a0f1713e41eb1c41c889ca4
remove incref for tuple fields, as Converter.ToPython is supposed to return a new referencehttps://github.com/pythonnet/pythonnet/pull/1022/commits/e2d333361c036243cec3c9aecab514d3888d8efa
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
e2d3333https://github.com/pythonnet/pythonnet/pull/1022/commits/e2d333361c036243cec3c9aecab514d3888d8efa
https://github.com/pythonnet/pythonnet/tree/e2d333361c036243cec3c9aecab514d3888d8efa
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/5619fb96f5f79194642acc1f8280be39742dc350
filmorhttps://github.com/pythonnet/pythonnet/commits?author=filmor
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
5619fb9https://github.com/pythonnet/pythonnet/pull/1022/commits/5619fb96f5f79194642acc1f8280be39742dc350
https://github.com/pythonnet/pythonnet/tree/5619fb96f5f79194642acc1f8280be39742dc350
Merge branch 'master' into PR/Codecshttps://github.com/pythonnet/pythonnet/pull/1022/commits/41de69d7484024f5e32b444aeb9f20737b713e1d
https://github.com/lostmsu
lostmsuhttps://github.com/pythonnet/pythonnet/commits?author=lostmsu
41de69dhttps://github.com/pythonnet/pythonnet/pull/1022/commits/41de69d7484024f5e32b444aeb9f20737b713e1d
https://github.com/pythonnet/pythonnet/tree/41de69d7484024f5e32b444aeb9f20737b713e1d
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.