Title: Fix the issue of sys.argv being cleared on import clr. by filmor · Pull Request #405 · pythonnet/pythonnet · GitHub
Open Graph Title: Fix the issue of sys.argv being cleared on import clr. by filmor · Pull Request #405 · pythonnet/pythonnet
X Title: Fix the issue of sys.argv being cleared on import clr. by filmor · Pull Request #405 · pythonnet/pythonnet
Description: Closes #404. What does this implement/fix? Explain your changes. Introduces a setSysArgv flag to all Initialize functions in PythonEngine, defaulting to true and set to false for InitExt such that import clr doesn't call PySys_SetArgvEx. Does this close any currently open issues? #404. Any other comments? The test should already be in from another PR, from what I understood and since the change introducing this issue has not been released, yet, I don't think it need to go into the changelog.
Open Graph Description: Closes #404. What does this implement/fix? Explain your changes. Introduces a setSysArgv flag to all Initialize functions in PythonEngine, defaulting to true and set to false for InitExt such that ...
X Description: Closes #404. What does this implement/fix? Explain your changes. Introduces a setSysArgv flag to all Initialize functions in PythonEngine, defaulting to true and set to false for InitExt such that ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/405
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a9523d83-0c3e-6d2a-048e-3d26afef29a4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 97A8:23EE3C:D4A231:1297A06:69725CC6 |
| html-safe-nonce | fb36ff14219c84ad19de11b2bf674a0faf7017806e55b600e9f0ae1759e6961c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0E4OjIzRUUzQzpENEEyMzE6MTI5N0EwNjo2OTcyNUNDNiIsInZpc2l0b3JfaWQiOiI2MTU5Mjg2OTY4ODc0MzI3MjM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a4184ec9029bae5af1ef3c5822b4fada674bb12909d763daf05b652bfe11baf |
| hovercard-subject-tag | pull_request:107837506 |
| 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/405/checks |
| twitter:image | https://avatars.githubusercontent.com/u/30848?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/30848?s=400&v=4 |
| og:image:alt | Closes #404. What does this implement/fix? Explain your changes. Introduces a setSysArgv flag to all Initialize functions in PythonEngine, defaulting to true and set to false for InitExt such that ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f5a890431069e39e7eb98c8c81da83629b10b51afe674db42bf829dbc0abba43 |
| 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 | 26c781f26acd529068611189d77d95c57099561a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width