A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079652.html below:

[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING

[Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODING [Python-Dev] Proposal: new environment variable PYTHONSTDOUTENCODINGArmin Rigo arigo at tunes.org
Wed May 21 10:45:48 CEST 2008
Hi Martin,

On Tue, May 20, 2008 at 10:22:37AM +0200, "Martin v. Löwis" wrote:
> In particular, setting this environment variable would also disable
> the detection of whether stdout is a terminal.

In this case, it seems to me that existing programs that start python as
a non-interactive subprocess, via a mecanism like os.popen2() or the
equivalent in other languages, will receive bogus data (the python
banner) and/or hang in unexpected ways (the subprocess waiting for more
input after the prompt).


A bientot,

Armin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4