Re: [U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-10-05 Thread Simon Glass
On 27 September 2016 at 11:55, Simon Glass wrote: > On 27 September 2016 at 09:03, Paul Burton wrote: >> In python 3.x the iteritems() method has been removed from dictionaries, >> and the items() method does effectively the same thing. On python 2.x >>

Re: [U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-09-27 Thread Simon Glass
On 27 September 2016 at 09:03, Paul Burton wrote: > In python 3.x the iteritems() method has been removed from dictionaries, > and the items() method does effectively the same thing. On python 2.x > using items() is a little less efficient since it involves copying data, >

[U-Boot] [PATCH v2 06/10] patman: Use items() to iterate over dictionaries

2016-09-27 Thread Paul Burton
In python 3.x the iteritems() method has been removed from dictionaries, and the items() method does effectively the same thing. On python 2.x using items() is a little less efficient since it involves copying data, but as speed isn't a concern in this code switch to using items() anyway for