Re: [U-Boot] [PATCH v2 2/8] test/py: Use range() rather than xrange()

2018-07-10 Thread Simon Glass
On 14 September 2017 at 15:34, Paul Burton wrote: > In python 3.x the xrange() function has been removed, and range() > returns an iterator much like Python 2.x's xrange(). Simply use range() > in place of xrange() in order to work on both python 2.x & 3.x. This > will mean a small cost on python

[U-Boot] [PATCH v2 2/8] test/py: Use range() rather than xrange()

2017-09-14 Thread Paul Burton
In python 3.x the xrange() function has been removed, and range() returns an iterator much like Python 2.x's xrange(). Simply use range() in place of xrange() in order to work on both python 2.x & 3.x. This will mean a small cost on python 2.x since range() will return a list there rather than an i