In Python 3, g.next() has been renamed to g.__next__(). The next() buildin function will work fine for Python 2&3. Partial implements: blueprint py33-support Change-Id: I992d019eb180f514388f21b2400b51c94c7bdad5