En Mon, 09 Apr 2007 09:19:16 -0300, <[EMAIL PROTECTED]> escribió:

> Yeah, I've noticed that too, altough I'm clueless on how stdio handles
> that differently. Now I'm wondering, what's the behaviour of the
> Python snippet that reads from stdout in Windows.. Can someone on
> Windows try it and report please?

It does the right thing:

py> print sys.stdout.readlines()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
IOError: [Errno 9] Bad file descriptor

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to