Patch: When demandimport is disabled the 'test-profile' test fails.

Matt Mackall mpm at selenic.com
Wed Jul 29 16:27:15 UTC 2009


On Wed, 2009-07-29 at 00:41 -0300, Alejandro Santos wrote:
> >> -        for k, v in sys.modules.iteritems():
> >> +        for k, v in list(sys.modules.iteritems()):
> >
> >
> > We probably want
> >   for k, v in sys.modules.items():
> > here, don't we?
> 
> Yes!

No!

Then some clever person will come along and change it to iteritems.

-- 
http://selenic.com : development and support for Mercurial and Linux





More information about the Mercurial-devel mailing list