Patchwork D4034: py3: stop rewriting xrange() to pycompat.xrange()

login
register
mail settings
Submitter phabricator
Date Aug. 1, 2018, 8:19 p.m.
Message ID <881ecbfeb17458fc8e99cfb4baad9531@localhost.localdomain>
Download mbox | patch
Permalink /patch/33051/
State Not Applicable
Headers show

Comments

phabricator - Aug. 1, 2018, 8:19 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6558f24f2202: py3: stop rewriting xrange() to pycompat.xrange() (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4034?vs=9736&id=9740

REVISION DETAIL
  https://phab.mercurial-scm.org/D4034

AFFECTED FILES
  mercurial/__init__.py

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/__init__.py b/mercurial/__init__.py
--- a/mercurial/__init__.py
+++ b/mercurial/__init__.py
@@ -182,7 +182,7 @@ 
                     continue
                 r, c = t.start
                 l = (b'; from mercurial.pycompat import '
-                     b'delattr, getattr, hasattr, setattr, xrange, '
+                     b'delattr, getattr, hasattr, setattr, '
                      b'open, unicode\n')
                 for u in tokenize.tokenize(io.BytesIO(l).readline):
                     if u.type in (tokenize.ENCODING, token.ENDMARKER):