py3: Remove #define PyInt_FromLong PyLong_FromLong
authorAndrew Bartlett <abartlet@samba.org>
Sat, 14 Mar 2020 21:36:59 +0000 (10:36 +1300)
committerNoel Power <npower@samba.org>
Mon, 23 Mar 2020 19:12:43 +0000 (19:12 +0000)
commit5c1867ba459c2eff0dfc99c92200aecc2d44df59
treeb4d32c7bdfe1b79a715f66fd4eec328c5c7f5404
parent4764e8b4c7e459f6aa5861d26ffaec3a3026d77f
py3: Remove #define PyInt_FromLong PyLong_FromLong

This allows us to end the use of Python 2/3 compatability macros.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power
20 files changed:
auth/credentials/pycredentials.c
lib/ldb/pyldb.c
lib/tdb/pytdb.c
lib/tevent/pytevent.c
libcli/nbt/pynbt.c
libcli/security/pysecurity.c
pidl/lib/Parse/Pidl/Samba4/Python.pm
python/py3compat.h
python/pyglue.c
source3/libsmb/pylibsmb.c
source3/passdb/py_passdb.c
source4/auth/gensec/pygensec.c
source4/dsdb/pydsdb.c
source4/lib/messaging/pymessaging.c
source4/lib/policy/pypolicy.c
source4/lib/registry/pyregistry.c
source4/lib/wmi/wmi_wrap.c
source4/librpc/ndr/py_security.c
source4/param/provision.c
source4/param/pyparam.c