Re: [PATCH 05/28] py-cmd.c error-checking bug fix

Pedro Alves
2013-05-15T16:29:00Z

On 05/15/2013 05:20 PM, Tom Tromey wrote:

> Pedro> Shouldn't this be 'malloc_failure (0)' instead of returning NULL?
>
> In the Python layer we follow Python conventions for error handling.
> Here, PyList_New failed and set the Python exception.
> We just propagate that to our caller.

I see. Thanks for the explanation.

--
Pedro Alves