Get rid of Py_RETURN_NONE wrappers

Matthias Dieter Wallnöfer mdw at samba.org
Wed Jan 8 07:52:26 MST 2014


Hi Jelmer,

during "./configure" I noticed the various Python release checks. It
turns out that we now require always at least release 2.4 for all
components (2.5 for s4).

This encouraged me to have a look at the various substituion macros
which we have developed over time. And indeed, the Py_RETURN_NONE
wrappers are not needed any longer
(http://www.python.org/doc//current/c-api/none.html) - so I would
strongly propose to remove them:
https://git.samba.org/samba.git/?p=mdw/samba.git;a=commitdiff;h=62937731e052775c1541c17e89254ce7db7e06db

Cheers,
Matthias


More information about the samba-technical mailing list