[Qt-creator] RFC: Dropping support for Python 2.x for GDB/LLDB

Orgad Shaneh orgads at gmail.com
Fri Feb 22 11:26:35 CET 2019


On Thu, Feb 21, 2019 at 9:50 PM André Pönitz <apoenitz at t-online.de> wrote:

>
> 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)'
>

On Windows, self-built gdb in MSYS2 environment (with :

python --version: 3.7.2
gdb -version:
GNU gdb (GDB) 8.1
...
This GDB was configured as "i686-w64-mingw32".

gdb -batch ...:
3.6.5 (default, Apr 16 2018, 10:30:41)  [GCC 7.3.0 32 bit]

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20190222/18928f8d/attachment.html>


More information about the Qt-creator mailing list