open() and EOFError

Steven D'Aprano steve+comp.lang.python at
Mon Jul 7 17:45:27 CEST 2014

On Mon, 07 Jul 2014 22:19:20 +1000, Chris Angelico wrote:

> It's possible for input() to raise IOError, if I'm not mistaken;
> consider redirection, for instance.

What indirection? Do you mean, if built-in input() has been monkey-
patched? Well, sure, but in that case it could do anything. I'm only 
concerned with the builtins. Otherwise, I have no idea what you mean by 


More information about the Python-list mailing list