[PATCHES] Port pytalloc to Python 3

Alexander Bokovoy ab at samba.org
Fri Dec 5 06:50:51 MST 2014

On Fri, Dec 5, 2014 at 2:27 PM, Petr Viktorin <pviktori at redhat.com> wrote:
>>>> For talloc, tdb and ldb it makes sense to support both python2 and
>>>> python3. For Samba itself, the burden of maintaining support for both
>>>> is much higher, and the benefits smaller.
>>> Yes. However, talloc/tdb/ldb support for both Python2 and Python3
>>> means there is need to improve our build system to support both Python
>>> versions so this task is relevant.
> Just to clarify: Are you just saying it needs to be possible to build Samba
> with Python 3?
> Or are you proposing that the modules for both Python 2 and 3 be built in
> the same configure/make run? It seems (to me, currently) that this would
> require rather big changes in Waf, while a configure-time switch for the
> Python version is practically free.
The latter because how otherwise would you be able to package both
python2 and python3 modules when packaging Samba?
We are not going to have two more samba packages differing in their
python bindings.

/ Alexander Bokovoy

More information about the samba-technical mailing list