Message92922
I tried to implement the new buffer API, but as soon as I add
bf_getbuffer/bf_releasebuffer to PyBufferProcs writing an array to a file
breaks:
f.write(a)
TypeError: must be contiguous buffer, not array.array
I searched through the file functions, but couldn't find the point where
this happens. Has anybody a suggestion? Does file.write() use the old
buffers? Doesn't it use reprfunc? |
|
Date |
User |
Action |
Args |
2009-09-21 07:21:59 | chuck | set | recipients:
+ chuck, loewis, georg.brandl, gregory.p.smith, exarkun, pitrou, ivank |
2009-09-21 07:21:59 | chuck | set | messageid: <1253517719.13.0.582769224456.issue6071@psf.upfronthosting.co.za> |
2009-09-21 07:21:57 | chuck | link | issue6071 messages |
2009-09-21 07:21:57 | chuck | create | |
|