Title: Build single Python.Runtime.dll for all platforms by lostmsu · Pull Request #1365 · pythonnet/pythonnet · GitHub
Open Graph Title: Build single Python.Runtime.dll for all platforms by lostmsu · Pull Request #1365 · pythonnet/pythonnet
X Title: Build single Python.Runtime.dll for all platforms by lostmsu · Pull Request #1365 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. This allows building the same Python.Runtime.dll on all platforms and supported Python versions. To invoke Python code from .NET, one needs to set Python.Runtime.Runtime.PythonDLL or manually preload DLL before invoking any Python.NET functions or other properties. Implementation details PInvoke signatures have been replaced with unmanaged functions pointers, that are loaded using ILibraryLoader on the first attempt to call any Python C API functions. Marshaling attributes have been replaced with explicit marshaling calls. PythonDLL gets its default value in the following order from: PYTHONNET_PYDLL environment variable Is set to null when launched from Python (so that DLL is already loaded in the process). Set to a platform-dependent value, based on PYTHONNET_PYVER environment variable (e.g. '3.6' -> 'libpython3.6.so') 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 allows building the same Python.Runtime.dll on all platforms and supported Python versions. To invoke Python code from .NET, one needs to se...
X Description: What does this implement/fix? Explain your changes. This allows building the same Python.Runtime.dll on all platforms and supported Python versions. To invoke Python code from .NET, one needs to se...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1365
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:61079316-7723-0a38-c479-5eaabec132c2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CD12:25EF8D:2E76511:3EC13FE:697085DF |
| html-safe-nonce | 63892e9ff955e35b1f50e0926b349d9835f4ea132da878e3bfada0da7b307f4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDEyOjI1RUY4RDoyRTc2NTExOjNFQzEzRkU6Njk3MDg1REYiLCJ2aXNpdG9yX2lkIjoiNDg0Mjg2MjgzMjQ3MjA2NTUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8141d5b3e81866e947e864b60cc5378d1f2ebd1766e7a4d1ab20d881b49d8141 |
| hovercard-subject-tag | pull_request:559794755 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/1365/checks |
| 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 allows building the same Python.Runtime.dll on all platforms and supported Python versions. To invoke Python code from .NET, one needs to se... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width