[PATCH v2] Make GDB compile with Python 3 on MinGW

Simon Marchi simark@simark.ca
Thu Aug 15 18:25:00 GMT 2019

On 2019-08-15 1:14 p.m., Christian Biesinger wrote:
>> I don't think PyErr_PrintEx clears the Python error indicator, and I think we want
>> it cleared when we exit this function, so should we call PyErr_Clear here?
> It does, per https://docs.python.org/3/c-api/exceptions.html and
> https://docs.python.org/2/c-api/exceptions.html

Ah yeah, I'm blond: "and clear the error indicator".


More information about the Gdb-patches mailing list