Antoine Pitrou <pit...@free.fr> added the comment:

Le dimanche 22 janvier 2012 à 17:58 +0000, Jon Brandvein a écrit :
> Jon Brandvein <jon.brandv...@gmail.com> added the comment:
> 
> On Windows, the problem appears under Python 3.2.2 and 3.1.3, but not
> under 2.7.1. On Linux, I have not reproduced the problem on versions
> 2.6.3, 2.7.2, 3.1.1, or 3.2.2.

Thanks.

>   - Even without this line, it should still be flushed automatically
> upon child process exit, but this doesn't happen under Windows and
> Python 3.x.

Yes, that's what surprises me. There's no reason for stderr not to be
flushed implicitly at process end, since that's part of sys.stderr's
destructor, which should be called at shutdown.

That said, it certainly doesn't harm to add a flush() call there.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to