This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proposal: Drop GDB support for Python versions < 2.6


>>>>> "Paul" == Paul Koning <paulkoning@comcast.net> writes:

Paul> Along the same lines, do you want to drop support for <= 3.x for
Paul> some x?  Python 3 is up to 3.7 now; I'm not sure if it matters
Paul> much to the code or maintenance burden, but dropping support for
Paul> some of the older 3.x releases might also make sense.

I looked and there aren't any major compatibility hacks to handle
different minor versions of Python 3.  It's all stuff along these lines,
and not many instances:

    #if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 4
                            const char *prompt)
    #else
                            char *prompt)
    #endif

So while I think it would be fine to drop some of this, there doesn't
seem to be a big benefit to doing so.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]