On Sat, 12 Aug 2006 19:28:44 -0700, Guido van Rossum <[EMAIL PROTECTED]> wrote: >On 8/12/06, "Martin v. Löwis" <[EMAIL PROTECTED]> 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 ([email protected]) 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. >
The ability to read into pre-allocated memory is fairly important for high-performance applications. This should be preserved somehow (and preferably given a real, supported API). Jean-Paul _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
