Initial review

The most recent commit message is so accurate.

consider `iteritems` for lower overhead, since AFAICT you don't need the intermediate list object here.