diff mercurial/error.py @ 30110:79f438f5dd02

osutil: use PyLongObject in recvfds PyIntObject doesn't exist in Python 3. While PyIntObject is preferred on Python 2 because it is a fixed capacity and faster, the difference between PyIntObject and PyLongObject for scenarios where performance isn't critical or the caller isn't performing type checking shouldn't be relevant. So change recvfds to return a list of longs instead of ints on Python 2.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 09 Oct 2016 13:41:18 +0200
parents b17a6e3cd2ac
children 318a24b52eeb
line wrap: on
line diff