This is failing in Python 3. I think just go for `items()`.