René's URL Explorer Experiment


Title: implement list codec by koubaa · Pull Request #1084 · pythonnet/pythonnet · GitHub

Open Graph Title: implement list codec by koubaa · Pull Request #1084 · pythonnet/pythonnet

X Title: implement list codec by koubaa · Pull Request #1084 · pythonnet/pythonnet

Description: What does this implement/fix? Explain your changes. Implement conversions from python lists, iterables, and sequences to appropriate C# interfaces ... Does this close any currently open issues? Probably a few of them. I'll look for it later. Any other comments? I've done the codec for three levels of collections. roughly I map these: python C# iterable IEnumerable sequence ICollection list IList The mapping isn't exactly perfect, naturally. But this is the best I think I can do right now. I need to add some more codec unit tests and functional embedding tests. 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. Implement conversions from python lists, iterables, and sequences to appropriate C# interfaces ... Does this close any currently open issues? Pro...

X Description: What does this implement/fix? Explain your changes. Implement conversions from python lists, iterables, and sequences to appropriate C# interfaces ... Does this close any currently open issues? Pro...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4cf3200f-8c0b-517d-3b90-23084378926e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDD84:B32AB:11A66AA:176A24B:69702E0A
html-safe-nonce1a0364d45626af2ef40e394e2f3006c0c25c4a0c08e2becef878fdddb66d47ba
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDg0OkIzMkFCOjExQTY2QUE6MTc2QTI0Qjo2OTcwMkUwQSIsInZpc2l0b3JfaWQiOiI4NzExMTYzMDM0OTk1Nzk3NTE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2824fdee3b9d20e1db297993bae1382be5e0393bea652a8497b44ef7a01e109e
hovercard-subject-tagpull_request:385882425
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/1084/files
twitter:imagehttps://avatars.githubusercontent.com/u/11414628?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11414628?s=400&v=4
og:image:altWhat does this implement/fix? Explain your changes. Implement conversions from python lists, iterables, and sequences to appropriate C# interfaces ... Does this close any currently open issues? Pro...
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/1084/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F1084%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%2F1084%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/1084/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/1084/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/1084/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/1084/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
koubaa:list-codechttps://github.com/koubaa/pythonnet/tree/list-codec
Conversation 91 https://github.com/pythonnet/pythonnet/pull/1084
Commits 25 https://github.com/pythonnet/pythonnet/pull/1084/commits
Checks 0 https://github.com/pythonnet/pythonnet/pull/1084/checks
Files changed https://github.com/pythonnet/pythonnet/pull/1084/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1084/files
implement list codec https://github.com/pythonnet/pythonnet/pull/1084/files#top
Show all changes 25 commits https://github.com/pythonnet/pythonnet/pull/1084/files
b500aa1 begin to implement list codec koubaa Mar 10, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/b500aa1837bfb83d367e9fc0e2ca7e777e6b0bfa
f80ae87 add a test koubaa Mar 10, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/f80ae875359e32e530da508163be01cc70e7e2bf
765b6a2 improve CanDecode koubaa Mar 11, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/765b6a221bf6414d147e96c0310c8b1b0045d26d
98ce49c improve list codec koubaa Mar 11, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/98ce49ce66bc3dc987f87b1c9a786dfcf0fa3f77
b827f5a full set of list codecs koubaa Mar 11, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/b827f5a89a0320a6fe3dd417723697e860d382b8
224df0e abandon rank and use three codecs koubaa Mar 22, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/224df0ea94e8c081052159106051797e487bef32
1600fdc update koubaa Mar 25, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/1600fdc9deb17ba5afc8c7c2e2bf495e0070c3e8
c43446e respond to PR comments koubaa Mar 29, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/c43446e7f339c9cd6eaf82549b13f1a9e15b0757
32fa32d make decoders public koubaa Mar 31, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/32fa32d5878a1937a5c5f9e3149abf8a7a84f949
dfc814b Make reset public koubaa Apr 1, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/dfc814b1545758f504682529ffcdb3256d036d24
f025cd1 add codec tests koubaa Apr 1, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/f025cd1e8e6a6bbf1a22fcadee40d219dc0c32f8
24d78c3 respond to comments koubaa Apr 6, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/24d78c35e49787c41b1743cc75b2237b648f8de7
ebcfa30 fix brace koubaa Aug 30, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/ebcfa30da90121bda4c269fe63f956879cbbc538
5cc575d use unix line endings to avoid large diff koubaa Aug 30, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/5cc575d73d3031dfec3b2864ef477f53eb6c8da3
17c47a7 fix compiler error koubaa Aug 30, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/17c47a74f91377aaac493f1b5ebbb0c5cc30892f
e8cc3d8 don't rethrow exception koubaa Sep 13, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/e8cc3d82f3efb7720f8d6ca2f352f33adbc972df
080dbc3 cleanup koubaa Sep 17, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/080dbc3dd91f6e99792e335d635bd14ca066b677
059ab08 fixes koubaa Sep 18, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/059ab08d7bbd2effe1f1ed050d97793efc57aa78
432c09e clean up sequence wrapper koubaa Sep 18, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/432c09ec970fddd5006ea9543cd209e1ffc9ab12
3043201 respond to comments koubaa Oct 10, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/3043201a048fec63458adb01533d2b94f3b39efe
57d7779 fix potential double free koubaa Oct 20, 2020 https://github.com/pythonnet/pythonnet/pull/1084/commits/57d7779db4b444cd257210d2c688caa493268c8c
7fb5915 fix exception koubaa Feb 17, 2021 https://github.com/pythonnet/pythonnet/pull/1084/commits/7fb59158cf8cd361b1e63e5f19695ea21c54d431
085c665 fix all exceptions koubaa Feb 17, 2021 https://github.com/pythonnet/pythonnet/pull/1084/commits/085c6656320dafb4503dad08d897fa0ece2d6f35
bf2d038 respond to PR feedback koubaa Feb 18, 2021 https://github.com/pythonnet/pythonnet/pull/1084/commits/bf2d03896079ebbc14bccbe93aedbbc42c077d77
07ee9fb use hasattr("__iter__") koubaa Feb 18, 2021 https://github.com/pythonnet/pythonnet/pull/1084/commits/07ee9fb986a2138eaf9378099088606573f749ad
Clear filters https://github.com/pythonnet/pythonnet/pull/1084/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1084/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1084/files
Codecs.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-eebc3a95f586d740a2e16eab7ab1ca007342560a2853f51bdb1be654fd14e115
IterableDecoder.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-d58d8cd7c770f8552900c40983a371c9fb58937f1ebf2e68104282dd12447cb9
ListDecoder.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-f4b34e6bf123c03ac00624fd848bc73d6ced2c73fcf06e437c280bd362664b70
SequenceDecoder.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-79cc86197925ed9e7cf7e83e899a89952dd9d2179f3978be0b59f4e9dbeb99b4
IterableWrapper.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-bba0a15d01a92daf45acafde9dbba349e0b68d4f9a60cf2598b508d256136c62
ListWrapper.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-423c1ba7d2adca2c90a21260f4b77b0181e6da3a415b79f4649a3207d6e0b371
SequenceWrapper.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-4727ca7224d5d4627c82bbe46ed0c5d0f6c736662d9dd096952473e0aebd9132
CodecTest.cs https://github.com/pythonnet/pythonnet/pull/1084/files#diff-f9990b16647f7311a6bf55edbc831c3d8862da9727064dfca5185037ea355d78
Python.Test.csproj https://github.com/pythonnet/pythonnet/pull/1084/files#diff-8d8b620eaa70888d9c37925ac80d3e092cd86da41e328be1d9f8acc4b933f525
test_codec.py https://github.com/pythonnet/pythonnet/pull/1084/files#diff-986310f68ef16ce5090356303495ac05c0295ac386b11e2a238b697514bc3ab8
tests.pyproj https://github.com/pythonnet/pythonnet/pull/1084/files#diff-bb7ccf26c87f4b0f9e6929a7d8e3e77ca03b5f6abe2ba666f1f256ad24319fe0
src/embed_tests/Codecs.cshttps://github.com/pythonnet/pythonnet/pull/1084/files#diff-eebc3a95f586d740a2e16eab7ab1ca007342560a2853f51bdb1be654fd14e115
View file https://github.com/koubaa/pythonnet/blob/07ee9fb986a2138eaf9378099088606573f749ad/src/embed_tests/Codecs.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1084/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/1084/files#diff-eebc3a95f586d740a2e16eab7ab1ca007342560a2853f51bdb1be654fd14e115
https://github.com/pythonnet/pythonnet/pull/1084/files#diff-eebc3a95f586d740a2e16eab7ab1ca007342560a2853f51bdb1be654fd14e115
https://github.com/pythonnet/pythonnet/pull/1084/files#diff-eebc3a95f586d740a2e16eab7ab1ca007342560a2853f51bdb1be654fd14e115
src/runtime/Codecs/IterableDecoder.cshttps://github.com/pythonnet/pythonnet/pull/1084/files#diff-d58d8cd7c770f8552900c40983a371c9fb58937f1ebf2e68104282dd12447cb9
View file https://github.com/koubaa/pythonnet/blob/07ee9fb986a2138eaf9378099088606573f749ad/src/runtime/Codecs/IterableDecoder.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/1084/{{ revealButtonHref }}
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1084/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/1084/files
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.