…StopIteration in generators to RuntimeError exceptions
This PR has the objective of aligning iterrowslice with Python 3.7 PEP 479 behavior, which transforms StopIteration in generators to RuntimeError exceptions.
Changes
Added exception handler for the first yield
Checklist
Use this checklist for assuring the quality of pull requests that include new code and or make changes to existing code.
[ ] Source Code rules apply:
[x] Includes unit tests
[ ] New functions have docstrings with examples that can be run with doctest
[ ] New functions are included in API docs
[ ] Docstrings include notes for any changes to API or behaviour
[x] All changes are documented in docs/changes.rst
[ ] Versioning and history tracking rules apply:
[x] Using atomic commits when possible
[x] Commits are reversible when possible
[x] There is no incomplete changes in the pull request
[x] There is no accidental garbage added in source code
…StopIteration in generators to RuntimeError exceptions
This PR has the objective of aligning
iterrowslice
with Python 3.7 PEP 479 behavior, which transforms StopIteration in generators to RuntimeError exceptions.Changes
yield
Checklist
Use this checklist for assuring the quality of pull requests that include new code and or make changes to existing code.
tox
/pytest