Stderr and Pythonw

Peter Hansen peter at
Wed Jun 30 14:28:25 CEST 2004

Manlio Perillo wrote:

> On Wed, 30 Jun 2004 04:22:16 GMT, Dennis Lee Bieber
> <wlfraed at> wrote:
>>On 29 Jun 2004 12:25:58 -0700, vm_usenet at (vm_usenet) declaimed
>>the following in comp.lang.python:
>>>When running python code via pythonw, what exactly happens to stderr?
>>	Since there is no console expected, none of the std***
>>connections are created.
> This not really corrected.
> Actually 'some' std*** connections are created but are usefulness
> (and moreover they have a bug).
> If you write more than 4096 an exception is raised...

And, for future reference, here is the bug report Manlio filed
on SourceForge (for which there is no response yet):

I've also confirmed this, using a test script very similar to one
Tim Peters posted a couple of months ago in

The problem is confirmed to still exist with Python 2.3.4.


More information about the Python-list mailing list