py3: Remove #define PyInt_AsLong PyLong_AsLong
authorAndrew Bartlett <abartlet@samba.org>
Sat, 14 Mar 2020 21:32:11 +0000 (10:32 +1300)
committerNoel Power <npower@samba.org>
Mon, 23 Mar 2020 19:12:43 +0000 (19:12 +0000)
commit4764e8b4c7e459f6aa5861d26ffaec3a3026d77f
treea9627bbb9177daf4fb2e33686e81c10abecf4759
parentcc79726d95108e3d8ef612a863c2f9fffd768636
py3: Remove #define PyInt_AsLong PyLong_AsLong

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 <npower@samba.org>
lib/tdb/pytdb.c
libcli/nbt/pynbt.c
pidl/lib/Parse/Pidl/Samba4/Python.pm
python/py3compat.h
source3/passdb/py_passdb.c
source4/lib/wmi/wmi.i
source4/lib/wmi/wmi_wrap.c
source4/librpc/rpc/pyrpc.c