[Python-Dev] What is the status of file.readinto?

Guido van Rossum guido at python.org
Sun Aug 13 04:28:44 CEST 2006


On 8/12/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> I can only guess why it may go away; my guess it will go away when
> the buffer interface is removed from Python (then it becomes
> unimplementable).

In Py3k, the I/O APIs will be redesigned, especially the binary ones.
My current idea is to have read() on a binary file return a bytes
object. If readinto() continues to be necessary, please make sure the
Py3k list (python-3000 at python.org) knows about your use case. We
aren't quite writing up the I/O APIs in PEP-form, but when we do, that
would be the right time to speak up.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list