python: Remove const from PyList_AsStringList()
authorAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2023 02:32:46 +0000 (14:32 +1200)
committerJule Anger <janger@samba.org>
Fri, 4 Aug 2023 07:02:15 +0000 (07:02 +0000)
commit534425ba2f6527666401b9cab6960c977ca22308
tree24d277a7417cbd7610e459838b40436621bd2493
parent2ed3913687513995cd006ca5590eac426ccfbeec
python: Remove const from PyList_AsStringList()

The returned strings are not owned by python, so need not be const.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15289

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 5afd206d1d8f0344a2f1fa7a238204d1fb164eda)
python/modules.c
python/modules.h
source4/auth/pyauth.c