On Sun, Mar 12, 2017 at 12:08:43PM -0700, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara <y...@tcha.org> > # Date 1489344422 25200 > # Sun Mar 12 11:47:02 2017 -0700 > # Node ID 78cce06ea6c3820626e57704eda821095677a23b > # Parent ff6dc91618236ef7a3d315921133b48bbc0d6f89 > py3: drop unused aliases to array.array which are replaced with bytearray
Queued, thanks. > > diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py > --- a/mercurial/branchmap.py > +++ b/mercurial/branchmap.py > @@ -7,7 +7,6 @@ > > from __future__ import absolute_import > > -import array > import struct > > from .node import ( > @@ -23,7 +22,6 @@ from . import ( > util, > ) > > -array = array.array > calcsize = struct.calcsize > pack = struct.pack > unpack = struct.unpack > diff --git a/mercurial/tags.py b/mercurial/tags.py > --- a/mercurial/tags.py > +++ b/mercurial/tags.py > @@ -12,7 +12,6 @@ > > from __future__ import absolute_import > > -import array > import errno > > from .node import ( > @@ -28,8 +27,6 @@ from . import ( > util, > ) > > -array = array.array > - > # Tags computation can be expensive and caches exist to make it fast in > # the common case. > # > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel