Mercurial > hg
comparison mercurial/mpatch.c @ 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 | 155f0cc3f813 |
children | 347c0f4232e1 |
comparison
equal
deleted
inserted
replaced
30109:96a2278ee732 | 30110:79f438f5dd02 |
---|