This is the mail archive of the gdb-patches@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: [PATCH] Use Python 2.[67] / 3.X / PEP 3118 buffer protocol


On Tue, 19 Feb 2019 14:51:10 -0700
Kevin Buettner <kevinb@redhat.com> wrote:

> gdb/ChangeLog:
> 
> 	* python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K
> 	code from these functions.  Remove corresponding ifdefs.  Use
> 	Py_buffer_up instead of explicit calls to PyBuffer_Release.
> 	Remove gotos and target of gotos.
> 	(infpy_search_memory): Likewise.

Pushed.

Kevin


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