Title: Allow creating new .NET arrays from Python using Array[T](dim1, dim2,…) syntax by lostmsu · Pull Request #1291 · pythonnet/pythonnet · GitHub
Open Graph Title: Allow creating new .NET arrays from Python using Array[T](dim1, dim2,…) syntax by lostmsu · Pull Request #1291 · pythonnet/pythonnet
X Title: Allow creating new .NET arrays from Python using Array[T](dim1, dim2,…) syntax by lostmsu · Pull Request #1291 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. This handles a few new argument combinations in tp_new of .NET array types: A single integer to create a one-dimensional array of specified size. Multiple integers passed as arguments (e.g. Array[T](3,5,7)) to create a multidimensional array. It processes all exceptions specified in https://docs.microsoft.com/en-us/dotnet/api/system.array.createinstance?view=net-5.0#System_Array_CreateInstance_System_Type_System_Int64___ Does this close any currently open issues? fixes #251 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. This handles a few new argument combinations in tp_new of .NET array types: A single integer to create a one-dimensional array of specified size...
X Description: What does this implement/fix? Explain your changes. This handles a few new argument combinations in tp_new of .NET array types: A single integer to create a one-dimensional array of specified size...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1291
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d309c47c-a5bf-83e0-cfe3-8b0511a6b234 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C10A:E7A2E:311B8B9:31CB2C2:69702E1C |
| html-safe-nonce | 1b8d9b4d869bce62502d2d96193002286fce2ed7056c89db84f194305e04eeec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTBBOkU3QTJFOjMxMUI4Qjk6MzFDQjJDMjo2OTcwMkUxQyIsInZpc2l0b3JfaWQiOiIxMzU4OTExNzI4NDg0NjI1OTQ4IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 04dd56443020f929d7dc34526531705efe4c63349c0e3261fd06e21d765b578f |
| hovercard-subject-tag | pull_request:526116802 |
| 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/1291/files |
| twitter:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. This handles a few new argument combinations in tp_new of .NET array types: A single integer to create a one-dimensional array of specified size... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc |
| 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 | dda91974c069382b0dfa47b2da7e28bd061c8331 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width