This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Fix python-interactive with Python 3.6
On 01/20/2017 04:48 PM, Simon Marchi wrote:
> Yeah, I thought about that and concluded it would be a problem for my
> grandchildren ;).
> ... and this is cleaner anyway. But why not just
> #if python < 3.4
> #define PyMem_RawMalloc PyMem_Malloc
Because I was just copy/pasting from python-internal.h
and didn't really think. :-) The other instances in
python-internal.h do it like that because they need to
redefine a symbol, not just define something missing.