Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJeremy Heiner <scalaprotractor@gmail.com>2013-10-12 12:44:35 -0400
committerAllan McRae <allan@archlinux.org>2013-10-14 13:01:15 +1000
commite9c7c3b90d1f266aebc98a36b1d32a61f7113505 (patch)
tree0662346429d659845c6856a6978a5b38110735cb /m4
parent95b0a868f255f2766ae03733882f30c8c7f3b7ca (diff)
Use Python's "range" instead of deprecated "xrange".
Reported by 2to3. Python 3 throws out the old range, renames the old xrange to be the new range, leaving no xrange. A shim could be used, but using the less efficient version does not have a noticeable impact on the run time. This observed (lack of an) effect is as described in the Python 2 docs for xrange. The largest range created is only 1000 elements big, and the memory cost of those ranges is negligible when compared to that of all the pmpkg instances created. Signed-off-by: Jeremy Heiner <ScalaProtractor at gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions