On Apr 9, 2:47 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > 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
I'm wondering if this could be treated as a bug of some kind? I always thought that the purpose of "higher" interpreted languages is to hide the implementation details as much as possible, offering a unique,equal and transparent environment on all systems (as much as this is possible). -- http://mail.python.org/mailman/listinfo/python-list