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

Cristian Adam cristian.adam at gmail.com
Tue Feb 26 13:59:43 CET 2019


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

>
> 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)
>
>
QNX 7.0.0 has the following:

cadam at cadams-desktop:~/qnx700/host/linux/x86_64/usr/bin
$ ./python --version
Python 2.7.12
cadam at cadams-desktop:~/qnx700/host/linux/x86_64/usr/bin
$ ./ntoaarch64-gdb -version
GNU gdb (GDB) 7.12 [qnx700 r1234]
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu
--target=aarch64-unknown-nto-qnx7.0.0".
Type "show configuration" for configuration details.Find the GDB manual and
other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
cadam at cadams-desktop:~/qnx700/host/linux/x86_64/usr/bin
$ ./ntoaarch64-gdb -batch -ex 'py import sys' -ex 'py print(sys.version)'

2.7.12 (default, Jan 28 2017, 13:14:42)
[GCC 5.2.0]

Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20190226/e5108366/attachment.html>


More information about the Qt-creator mailing list