[PATCH 6 of 7] py3: switch from iteritems to items

Yuya Nishihara yuya at tcha.org
Wed Apr 13 12:17:45 EDT 2016


On Wed, 13 Apr 2016 00:56:56 -0700, Pierre-Yves David wrote:
> On 04/11/2016 03:49 PM, timeless wrote:
> > # HG changeset patch
> > # User timeless <timeless at mozdev.org>
> > # Date 1460271551 0
> > #      Sun Apr 10 06:59:11 2016 +0000
> > # Node ID eefe59718f11944738153111debc79f8b926a80a
> > # Parent  17073d80244c1c0c4670770c575cd051adba19be
> > py3: switch from iteritems to items  
> 
> Wow this change is intrusive. I'm not sure about it. Most of these 
> changes to non does not really matters but I'll have to take a second 
> pass of what it means.
> 
> I'm curious about what other people think about this.

My question is what's the criteria to select util.iteritems(d) or d.items().

(I know we can't replace all d.iteritems() by dict.iteritems(d).)


More information about the Mercurial-devel mailing list