- Notifications
You must be signed in to change notification settings - Fork750
Modernization stage1#1117
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
Modernization stage1#1117
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Contrary to what I said before, I don't think trying to providea single DLL for Python 2 and 3. We will in the future defaultto Python 3, and if someone really wants Python 2, for a whilewe will support a separate compile configuration for that.
@filmor this is the first stage I described (although I couldn't figure out what you mean by custom IncRef and DecRef) |
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Seems fine to me, but must fix CI.
lostmsu commentedMay 1, 2020 • 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 if this is targeting Python.NET 3+, I think we should just drop Python 2 support altogether with all related code. Keeping those We can just remove all Python 2-related code in a single commit, including the CI checks. Whoever needs it then can just revert it and try to work from there (which I doubt will ever happen). @koubaa@filmor in my branch I simply use a static check usingRuntimeInformation.IsOSPlatform to decide between UCS2 and UCS4, then just cache boolean flag. I don't think it has any significant impact on performance as opposed to using |
What does this implement/fix? Explain your changes.
pulls out a first stage from this PR:
https://github.com/pythonnet/pythonnet/pull/1109/files
...
Does this close any currently open issues?
no
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG