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 manlioperillo
Recipients
Date 2004-06-16.17:05:17
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1054957

The problem with this bug is that I have a script that can
be executed both with python.exe that with pythonw.exe!
How can I know if stdout is connected to a console?

I think a 'patch' would be to replace sys.stdout/err with a
null stream instead of using windows stdout/err implementation.
If fileno can't be implemented, it should not be a problem.
History
Date User Action Args
2008-01-20 09:56:57adminlinkissue973507 messages
2008-01-20 09:56:57admincreate