Hi all.

As you may know, Qt Creator heavily uses Python in the Debugger
plugin to interact with the "real" debuggers (GDB, LLDB, CDB, PDB).

Currently the scripts in the glue code works with both Python
2.7 and 3.x. This is a workable setup, but makes it a bit
unpleasant to test and maintain and in some code paths less
efficient than a 3.x-only setup.

I am therefore pondering the idea of dropping support for Python 2.x,
and I'd like to gauge the potential heat such a move will draw.

What do people see as output of the following:

    python --version
    python3 --version
    gdb -version
    gdb -batch -ex 'py import sys' -ex 'py print(sys.version)'
    lldb -version
    lldb -batch -o 'sc import sys' -o 'sc print(sys.version)


For the record, on my 18.04.1 LTS here this yields something like:

    Python 2.7.15rc1
    Python 3.6.7
    GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
    3.6.7 (default, Oct 22 2018, 11:32:17)
    lldb version 6.0.0
    2.7.15rc1 (default, Nov 12 2018, 14:31:15)


Private reply would be just fine, I might have some follow-up
questions for certain setups.

Andre'

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to