The Samba-Bugzilla – Bug 10028
Samba Python 3 support
Last modified: 2016-01-18 15:52:07 UTC
Hi guys, have you considered supporting Python 3 with Samba? Any plans/work already started? Any way I could help? Thanks!
Yes, we consider it. Please look at https://lists.samba.org/archive/samba-technical/2013-May/092648.html and onward for the discussion. Any help reviewing our Python code for Python3/2 co-existence would be appreciated. You can attach patches here, if you want. Majority of the code that needs real work is not Python code, though. We have auto-generated C code and auto-generated Python bindings to that code, which also includes Unicode string handling along with byte-level strings (blobs). These bindings have C source that is used as a template and that template needs to be converted.
Created attachment 10152 [details] port pytalloc to python 3 I've been working on porting pytalloc to python 3. I'm not sure what kind of coding style you prefer — I will gladly rewrite the patch with usage of macros if needed. Also I haven't updated waf configuration.
Petr Viktorin's patches made their way to master so IIUC at least pyldb has been ported to python 3.