Proposal to remove Python 2 support

Eli Zaretskii eliz@gnu.org
Thu Sep 17 18:45:04 GMT 2020


> Date: Thu, 17 Sep 2020 20:10:05 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Joel Brobecker <brobecker@adacore.com>, paulkoning@comcast.net,
> 	tom@tromey.com, gdb@sourceware.org
> 
> On Thu, 17 Sep 2020 20:03:02 +0200, Eli Zaretskii wrote:
> > But that kind of thing is inevitable when one relies on external
> > libraries for some of our features.  For example, suppose that the
> > source-highlight package learns to highlight sources better -- these
> > improvements will only available to users if they upgrade their
> > installed source-highlight library before building GDB.
> 
> That is different.
> 
> There will always be installed only one version of source-highlight package.
> 
> With Python there can be (and currently commonly is) installed both Python
> 2 & 3 and it is sometimes tricky to convince a package to use the other
> version than the one it uses by default.

Sorry, I don't think I understand how what you say is relevant to what
I wrote.

What I tried to convey is that having some features in GDB that only
work if you build GDB with Python 3 is not an acute problem.


More information about the Gdb mailing list