diff options
author | Alexander Bokovoy <ab@samba.org> | 2017-07-13 15:37:47 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2017-07-14 07:10:24 +0200 |
commit | 303a52d8d48e4f5754448a876fedc98d7829e2bb (patch) | |
tree | b33621648690d1ec899aa9374110dae69c12413b /source4/librpc | |
parent | a4c3ee6767d768365a47bfda32a26cb7994b3787 (diff) | |
download | samba-303a52d8d48e4f5754448a876fedc98d7829e2bb.tar.gz |
py3: Make sure to specify METH_VARARGS together with METH_KEYWORDS
A Python 3 bug https://bugs.python.org/issue15657 explains that one should
always use METH_VARARGS|METH_KEYWORDS when defining a function rather
than a lonely METH_KEYWORDS. We had only one definition like this in
Samba and it was the one that affects FreeIPA when running in Python 3
mode.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12905
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc')
0 files changed, 0 insertions, 0 deletions