PyBuffer_New(): Raise ValueError if size is negative (the other
constructors didn't miss this). Raise MemoryError if malloc() fails, instead of just returning NULL.
Showing
Please register or sign in to comment
constructors didn't miss this). Raise MemoryError if malloc() fails, instead of just returning NULL.