s/xrange/range/g

Review Request #1901 - Created March 11, 2015 and submitted

Information
David Turner
pants
4352df8...
Reviewers
pants-reviews
jsirois, patricklaw, zundel
s/xrange/range/g

https://travis-ci.org/pantsbuild/pants/builds/53975561 running

David Turner
Patrick Lawson
David Turner
Review request changed

Status: Closed (submitted)

Stu Hood

Hm, shouldn't this wait until we're requiring python3? In the meantime, this is just going to increase memory usage unnecessarily.

  1. What Stu said. xrange exists for a reason.

  2. You want this: http://pythonhosted.org//six/#module-six.moves

    from six moves import range
    
  3. Will fix.

  4. https://rbcommons.com/s/twitter/r/1931/

Loading...