[PATCH] Use Python 2.[67] / 3.X / PEP 3118 buffer protocol

Kevin Buettner kevinb@redhat.com
Wed Feb 20 20:49:00 GMT 2019


On Wed, 20 Feb 2019 19:05:26 +0000
Pedro Alves <palves@redhat.com> wrote:

> On 02/19/2019 09:51 PM, Kevin Buettner wrote:
> > As noted earlier, Python 2.6, Python 2.7, and Python 3.X all have
> > support for the PEP 3118 buffer protocol.  Python releases prior
> > to 2.6 use an older buffer protocol.  Since Python 2.6 has been
> > retired for a good while now, it seems reasonable to me to remove
> > code using the older buffer protocol from GDB.
> 
> Not objecting, but I think you should send an email to gdb@ with
> a clear subject indicating that you're proposing to drop support
> for Python < 2.6.

Okay, I've done this.  See:

https://sourceware.org/ml/gdb/2019-02/msg00020.html

Kevin



More information about the Gdb-patches mailing list