Title: Fix conversion of elements when iterating over non-generic containers by brandon-avantus · Pull Request #2680 · pythonnet/pythonnet · GitHub
Open Graph Title: Fix conversion of elements when iterating over non-generic containers by brandon-avantus · Pull Request #2680 · pythonnet/pythonnet
X Title: Fix conversion of elements when iterating over non-generic containers by brandon-avantus · Pull Request #2680 · pythonnet/pythonnet
Description: If the element type of an Iterator is object, then query for its actual type before attempting to convert to a Python object. What does this implement/fix? Explain your changes. This adds a quick check for the element type of an Iterator. If generic element type is object, then the item type will be used for converting to a Python type instead of the generic type. Does this close any currently open issues? Fixes #2679 Any other comments? None. 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 Ensure you have signed the .NET Foundation CLA Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: If the element type of an Iterator is object, then query for its actual type before attempting to convert to a Python object. What does this implement/fix? Explain your changes. This adds a quick c...
X Description: If the element type of an Iterator is object, then query for its actual type before attempting to convert to a Python object. What does this implement/fix? Explain your changes. This adds a quick c...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2680
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8db774fa-73ea-3ae9-35d8-9eda604c663a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A88A:3DC7AA:17E74B5:20511C6:697016CD |
| html-safe-nonce | 383fcb212d29b712e9fb50343720a6e256d6b6c9288de239f3bb836b98126b0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODhBOjNEQzdBQToxN0U3NEI1OjIwNTExQzY6Njk3MDE2Q0QiLCJ2aXNpdG9yX2lkIjoiNDgxMDk5MDkxNTI1NTUzOTQwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c7506a58c9bfa8fce5f31a675ea3d8ca2b9ef233695a95172cc52def74859f99 |
| hovercard-subject-tag | pull_request:3174614120 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/2680/files |
| twitter:image | https://avatars.githubusercontent.com/u/139383234?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/139383234?s=400&v=4 |
| og:image:alt | If the element type of an Iterator is object, then query for its actual type before attempting to convert to a Python object. What does this implement/fix? Explain your changes. This adds a quick c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043a09521e81f00c45482046b3f38390b8b292cf9a86ad665a632633a072c05c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 98881eadf8ae73000970c42161c094b0809b1330 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width