1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00
Douglas Bagnall edeed08a04 pygpo: use correct method flags
The METH_KEYWORDS argument must always be combined with METH_VARARGS.

In Python up to 3.7 this was checked at runtime, and as we had no callers to
get_unix_path() in Python we never noticed. In Python 3.8 it is checked at
import time, and everyone notices even if they aren't directly using GPOs.

Found and reported by Val Kulkov.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14209
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 12cccf3447333dfd4f5e437cd57ca5ec68724fdd)
2019-12-19 09:57:24 +00:00
..
2017-01-06 12:28:19 +01:00
2017-11-20 21:41:14 +01:00
2018-12-11 00:40:31 +01:00
2018-11-09 22:42:29 +01:00
2014-01-07 18:52:42 +01:00
2019-12-19 09:57:24 +00:00