Get rid of Py_RETURN_NONE wrappers

Andrew Bartlett abartlet at samba.org
Wed Jan 8 13:01:38 MST 2014


On Wed, 2014-01-08 at 15:52 +0100, Matthias Dieter Wallnöfer wrote:
> 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

I'll wait for Jelmer, but I agree.  I wonder what other things do we
have or avoid for python 2.4?

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba






More information about the samba-technical mailing list