Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.h @ 30091:d576b7394646
util: define PyInt_Type on Python 3
util.h attempts to wallpaper over C API differences between Python 2
and 3. This is not the correct approach where performance is critical.
But it is good enough for the current state of the Python 3 port.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Oct 2016 19:02:44 +0200 |
parents | 284d742e5611 |
children | 67b0484c9ce4 |
line wrap: on
line diff