using builtin next for Py3 lack of .next in generators