commit | 4574f23115e2c0b35a2e1a4cac0aa7c855144639 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Wed Aug 04 13:08:19 1999 +0000 |
committer | Fred Drake <fdrake@acm.org> | Wed Aug 04 13:08:19 1999 +0000 |
tree | d8a2dd3a779b17185a556865306270ef596400a0 | |
parent | 493aa4809b787bf6677b241a2e8e2c023b6a0710 [diff] |
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.