Skip to content
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

Add checks for Errors to propagate signals #27

Merged
merged 2 commits into from
Sep 17, 2014
Merged

Add checks for Errors to propagate signals #27

merged 2 commits into from
Sep 17, 2014

Conversation

pbrady
Copy link
Owner

@pbrady pbrady commented Sep 17, 2014

Fixes #26. Add calls to PyErr_Occurred to ensure to that exceptions raised by signals are caught. For some reason, merely checking the return value of calls to Python is not enough. This should be optimized later.

pbrady added a commit that referenced this pull request Sep 17, 2014
Add checks for Errors to propagate signals
@pbrady pbrady merged commit f0eb6ae into master Sep 17, 2014
@pbrady
Copy link
Owner Author

pbrady commented Sep 17, 2014

There are probably quite a few unnecessary calls to PyErr_Occurred but this needs to be fixed

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.

Signals sometimes get lost
1 participant