ENH: Use viewitems for the sake of py3k
ENH: Address @wasade's suggestions