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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3a2f86ad-f266-85fd-f445-7098afff64ab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 94BE:4D098:20C8C7:2CFE00:6972750A |
| html-safe-nonce | 51aa70a6fa8234e753ceaf5a94e0d41e1893e63d88fbc44f3c0ce74d6efbe793 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEJFOjREMDk4OjIwQzhDNzoyQ0ZFMDA6Njk3Mjc1MEEiLCJ2aXNpdG9yX2lkIjoiMTkwMjM0Mjk2MjUxMTI0NjYwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c1d4023530d78a186f532fcce0a4d0029d8095dd95e4d50a43bcaa98dad824d4 |
| hovercard-subject-tag | pull_request:107837506 |
| 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/405/files |
| 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 | 3be355d8ea7ca74c4edec03a70ecaa8211862649e90886d88a4db13e6778e4c3 |
| 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 | 4ae5b6c1e16519c3e3ad37a388f7cca2192a79a8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width