[Python-3000] Non-blocking I/O? (Draft PEP for New IO system) (original) (raw)

Adam Olsen rhamph at gmail.com
Wed Mar 7 03:04:20 CET 2007


On 3/6/07, Guido van Rossum <guido at python.org> wrote:

The buffering layer could then raise IOError (or perhaps a special subclass of it) if the raw I/O layer ever returned one of these;

What's the rationale for IOError instead of ValueError? Isn't it an error in the application to apply the buffering layer to a non-blocking socket, and not something related to a connection reset?

+1 on the rest

-- Adam Olsen, aka Rhamphoryncus



More information about the Python-3000 mailing list