Re: [lldb-dev] Python3 compatibility for the API

2016-09-13 Thread Ted Woodward via lldb-dev
[lldb-dev] Python3 compatibility for the API Hi Zachary, Peter On 30/08/16 00:14, Zachary Turner via lldb-dev wrote: > Right, the existing version that is built and what you are using links > directly against a 2.7 libpython at compile time. So you would > probably need to build LLDB fr

Re: [lldb-dev] Python3 compatibility for the API

2016-08-30 Thread Luke Drummond via lldb-dev
Hi Zachary, Peter On 30/08/16 00:14, Zachary Turner via lldb-dev wrote: Right, the existing version that is built and what you are using links directly against a 2.7 libpython at compile time. So you would probably need to build LLDB from source and tweak the build system to make it possible

Re: [lldb-dev] Python3 compatibility for the API

2016-08-30 Thread Pavel Labath via lldb-dev
We don't have any immediate plans to make lldb work with python 3 on linux. However, I would be willing to guide you through making that work. As Zachary pointed out, it should be fairly simple, given that it already works on windows. I don't think you'll be able to avoid building your own copy

Re: [lldb-dev] Python3 compatibility for the API

2016-08-29 Thread Peter Gebhard via lldb-dev
Hmm…sure? I can try. Feel free to send me any tips. It does show syntax errors when trying to import the existing lldb module in Python 3, however. Thanks, Peter > On Aug 29, 2016, at 6:42 PM, Zachary Turner wrote: > > 3.6.2 should be new enough, Python 3 has been working

Re: [lldb-dev] Python3 compatibility for the API

2016-08-29 Thread Zachary Turner via lldb-dev
3.6.2 should be new enough, Python 3 has been working for over a year and it's actually the only supported configuration right now on Windows. Most likely the problem is just that I never updated the build system to work with a platform other than Windows. Unfortunately, being that I work

Re: [lldb-dev] Python3 compatibility for the API

2016-08-29 Thread Zachary Turner via lldb-dev
Hi, LLDB already supports Python 3. I spent a LONG time making this work. :) I've only ever tested the Python 3 support on Windows, and I've only tested 3.5 and above, but I don't expect any major difficulties getting it working on another platform, although you may need to tweak the CMake a