python: Add Python 3 workarounds for long
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 25 Jan 2019 18:38:03 +0000 (18:38 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 25 Feb 2019 14:25:24 +0000 (14:25 +0000)
commitb5b19d247024022a93df320158a2aea2a772e54f
tree7526180743cf2ec957e92108819f61a5d173cdeb
parentdebb5daace15e17bae7c07937852f6f738633c85
python: Add Python 3 workarounds for long

Python 3 doesn't have a separate long type. Make long an alias for int
where needed to maintain compatibility.

Change-Id: I4c0861302bc3a2fa5226b3041803ef975d29b2fd
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15988
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/python/m5/SimObject.py
src/python/m5/params.py
src/python/m5/proxy.py
src/python/m5/ticks.py
src/python/m5/util/convert.py
src/python/m5/util/fdthelper.py
src/python/m5/util/smartdict.py