Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Minimal Py_IntializeEx change #777

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 15, 2018
Merged

Conversation

filmor
Copy link
Member

@filmor filmor commented Nov 15, 2018

What does this implement/fix? Explain your changes.

Minimal version of #724, allows the user to select whether an embedded Python should configure signal handlers or not, defaulting to "false" (which is different from what we had before as a straight call to Py_Initialize will configure signal handlers).

Does this close any currently open issues?

Fixes #449.

Any other comments?

We should follow up on #724 to get a unit test working for this, but this can wait until after 2.4.0.

@codecov
Copy link

codecov bot commented Nov 15, 2018

Codecov Report

Merging #777 into master will decrease coverage by 13.44%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #777       +/-   ##
==========================================
- Coverage   77.04%   63.6%   -13.45%     
==========================================
  Files          63       1       -62     
  Lines        5786     283     -5503     
  Branches      911       0      -911     
==========================================
- Hits         4458     180     -4278     
+ Misses       1024     103      -921     
+ Partials      304       0      -304
Flag Coverage Δ
#setup_linux 63.6% <ø> (-4.95%) ⬇️
#setup_windows ?
Impacted Files Coverage Δ
setup.py 63.6% <0%> (-22.62%) ⬇️
src/runtime/pyansistring.cs
src/runtime/constructorbinder.cs
src/runtime/methodbinder.cs
src/runtime/Util.cs
src/runtime/delegatemanager.cs
src/runtime/eventbinding.cs
src/runtime/pyiter.cs
src/runtime/pynumber.cs
src/runtime/interop27.cs
... and 51 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c9f035...62634f9. Read the comment docs.

@filmor filmor force-pushed the minimal-initializeex branch from 43c56bb to 62634f9 Compare November 15, 2018 12:45
@filmor filmor merged commit bf87239 into pythonnet:master Nov 15, 2018
@filmor filmor deleted the minimal-initializeex branch November 15, 2018 13:14
@den-run-ai
Copy link
Contributor

@filmor why did you switch both x86 & x64 to AnyCPU?

@filmor
Copy link
Member Author

filmor commented Nov 15, 2018

Argh, sorry, I wanted to exclude this part from the branch :/ I'll revert that particular change.

@den-run-ai
Copy link
Contributor

@filmor py27 got stuck in appveyor for master branch. I restarted the build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Call to Py_Initialize changes signal handler configuration
3 participants