- Notifications
You must be signed in to change notification settings - Fork752
Fix the issue of sys.argv being cleared on import clr.#405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
vmuriart commentedFeb 24, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@filmor just fixed the test for this on test against v2.2.2 -https://travis-ci.org/vmuriart/pythonnet/jobs/204904097 |
bac3ab3
to9e1a0e4
CompareCodecov Report
@@ Coverage Diff @@## master #405 +/- ##==========================================+ Coverage 63.49% 63.51% +0.02%========================================== Files 60 60 Lines 5219 5222 +3 Branches 857 858 +1 ==========================================+ Hits 3314 3317 +3 Misses 1685 1685 Partials 220 220
Continue to review full report at Codecov.
|
Closes#404.
What does this implement/fix? Explain your changes.
Introduces a
setSysArgv
flag to allInitialize
functions inPythonEngine
, defaulting totrue
and set tofalse
forInitExt
such thatimport clr
doesn't callPySys_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.