Py3: generator.py: iteritems -> items