iteritems in a python2-only thing, so it cant be relied on py py3.  might be a good idea to update this patch and make it a test-only patch if that has become possible since you first laid eyes on the problem.