Greg Ewing wrote:
> Travis Oliphant wrote:
>
>> Carl Banks wrote:
>> > I'd like to see it accept a flags argument over what kind of buffer
>> > it's allowed to return. I'd rather not burden the user to check
>> all > the entries in bufferinfo to make sure it doesn't get something
>> > unexpect
Travis Oliphant wrote:
> Carl Banks wrote:
> > I'd like to see it accept a flags argument over what kind of buffer
> > it's allowed to return. I'd rather not burden the user to check all
> > the entries in bufferinfo to make sure it doesn't get something
> > unexpected.
> Yes, I agree. We had s
Carl Banks wrote:
> Only one concern:
>
> > typedef int (*getbufferproc)(PyObject *obj, struct bufferinfo
> *view)
>
>
> I'd like to see it accept a flags argument over what kind of buffer
> it's allowed to return. I'd rather not burden the user to check all
> the entries in bufferinfo to m
Only one concern:
> typedef int (*getbufferproc)(PyObject *obj, struct bufferinfo *view)
I'd like to see it accept a flags argument over what kind of buffer it's
allowed to return. I'd rather not burden the user to check all the
entries in bufferinfo to make sure it doesn't get something