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

Skip to content

Catching exceptions from iterator MoveNext() (related to #475) #522

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

Closed
wants to merge 3 commits into from

Conversation

rickardraysearch
Copy link
Contributor

@rickardraysearch rickardraysearch commented Aug 9, 2017

What does this implement/fix? Explain your changes.

Catches exceptions in iterator MoveNext() and throws them in python instead of crashing.

Does this close any currently open issues?

Issue #475.

Any other comments?

...

Checklist

Check all those that are applicable and complete.

  • Make sure to include one or more tests for your change
  • If an enhancement PR, please create docs and at best an example
  • Add yourself to AUTHORS
  • Updated the CHANGELOG

@mention-bot
Copy link

@rickardraysearch, thanks! @vmuriart, @brianlloyd, @tiran, @ArvidJB and @filmor, please review this.

@codecov
Copy link

codecov bot commented Aug 9, 2017

Codecov Report

Merging #522 into master will decrease coverage by 1.11%.
The diff coverage is 75%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #522      +/-   ##
========================================
- Coverage   77.12%    76%   -1.12%     
========================================
  Files          65     63       -2     
  Lines        5547   5476      -71     
  Branches      889    878      -11     
========================================
- Hits         4278   4162     -116     
- Misses        981   1001      +20     
- Partials      288    313      +25
Flag Coverage Δ
#setup_linux 75.71% <ø> (ø) ⬆️
#setup_windows 75.32% <75%> (-1.15%) ⬇️
Impacted Files Coverage Δ
src/runtime/iterator.cs 77.77% <75%> (-4.05%) ⬇️
src/runtime/converter.cs 72.89% <0%> (-9.14%) ⬇️
src/runtime/classbase.cs 78.09% <0%> (-2.86%) ⬇️
src/runtime/CustomMarshaler.cs 67.12% <0%> (-2.74%) ⬇️
src/runtime/importhook.cs 78.01% <0%> (-2.41%) ⬇️
src/runtime/runtime.cs 88.18% <0%> (-2.41%) ⬇️
src/runtime/exceptions.cs 79.46% <0%> (-0.9%) ⬇️
src/runtime/pythonengine.cs 78.16% <0%> (-0.53%) ⬇️
src/runtime/interop.cs 95.23% <0%> (-0.5%) ⬇️
src/runtime/typemanager.cs 83.82% <0%> (-0.21%) ⬇️
... and 4 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 25e66f0...9e08150. Read the comment docs.

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.

4 participants