Fred Drake
|
4574f23115
|
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.
|
1999-08-04 13:08:19 +00:00 |
Guido van Rossum
|
cd037e7bed
|
Folded long lines.
|
1999-03-24 19:05:31 +00:00 |
Guido van Rossum
|
49ded3ec00
|
Added check for negative offset for PyBuffer_FromObject and check for
negative size for PyBuffer_FromMemory. Greg Stein.
|
1999-03-19 19:04:25 +00:00 |
Guido van Rossum
|
1db7070217
|
Greg Stein: Implement the new bf_getcharbuffer function, indicating
that (as far as the data type is concerned!) this is character data.
|
1998-10-08 02:18:52 +00:00 |
Guido van Rossum
|
7148ca9d14
|
Make gcc -Wall happy.
|
1998-10-07 16:22:12 +00:00 |
Guido van Rossum
|
2e19bd7cc7
|
Add Greg Stein's buffer object API.
|
1998-10-07 14:36:10 +00:00 |