Make iternext() return a pair.
XXX crashes in test_object_mode
Fix crash
Cleanup
Further refactor: pass the pair object to iternext(), so that it only needs to fill in the yielded value when the iterator is still valid
Create a higher-level _IternextResult helper object.
Add some commits and docstrings
Remove unused import
Merge branch 'master' of github.com:numba/numba into iternext
Merge pull request #572 from pitrou/iternext

Iteration refactor