[Python-3000] Google Sprint Ideas

martin at v.loewis.de martin at v.loewis.de
Mon Aug 21 21:57:26 CEST 2006


Zitat von Alexander Belopolsky <alexander.belopolsky at gmail.com>:

> > Alexander Belopolsky schrieb:
> >> For Py3k, I would like to suggest a buffer protocol modelled
> >> after iovec structure that is used by the readv system call.
> >
> > -1
>
> What is this -1 for:
>
> a) buffer protocol in Py3k?
> b) multisegment buffer protocol?
> c) readinto that supports multisegment buffers?

b and c; I don't have an opinion a.

> I did not suggest to expose anything in Python.  AFAIK, the buffer
> protocol is a C API only.

Ah; now that the IO library will be likely 100% pure Python,
this needs thought.

Regards,
Martin






More information about the Python-3000 mailing list