This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brandjon, jnoller, pitrou
Date 2012-01-22.18:05:45
SpamBayes Score 5.003281e-06
Marked as misclassified No
Message-id <1327255424.3382.42.camel@localhost.localdomain>
In-reply-to <1327255084.11.0.555630044333.issue13812@psf.upfronthosting.co.za>
Content
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.
History
Date User Action Args
2012-01-22 18:05:46pitrousetrecipients: + pitrou, jnoller, brandjon
2012-01-22 18:05:46pitroulinkissue13812 messages
2012-01-22 18:05:45pitroucreate