Message151782
Le dimanche 22 janvier 2012 à 17:58 +0000, Jon Brandvein a écrit :
> Jon Brandvein <jon.brandvein@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. |
|
Date |
User |
Action |
Args |
2012-01-22 18:05:46 | pitrou | set | recipients:
+ pitrou, jnoller, brandjon |
2012-01-22 18:05:46 | pitrou | link | issue13812 messages |
2012-01-22 18:05:45 | pitrou | create | |
|