Mercurial > hg
diff mercurial/pure/parsers.py @ 31220:37596c980662
parsers: alias long to int on Python 3
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 08 Mar 2017 00:45:19 +0530 |
parents | 255274719dc1 |
children | 61ff3852f6ed |
line wrap: on
line diff
--- a/mercurial/pure/parsers.py Wed Mar 08 00:40:15 2017 +0530 +++ b/mercurial/pure/parsers.py Wed Mar 08 00:45:19 2017 +0530 @@ -14,6 +14,9 @@ from . import pycompat stringio = pycompat.stringio +if pycompat.ispy3: + long = int + _pack = struct.pack _unpack = struct.unpack _compress = zlib.compress