As I mentioned in the issue, we can just use the next function - it's there from Python 2.6, and it saves relying on six:

http://docs.python.org/2/library/functions.html#next