Title: stdin/out/err encoding shouldn't be set unless isatty
Type: Severity: normal
Components: Core Versions:
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: pjenvey
Priority: Keywords:

Created on 2009-04-11.20:46:58 by pjenvey, last changed 2009-05-10.00:01:10 by pjenvey.

msg4502 (view) Author: Philip Jenvey (pjenvey) Date: 2009-04-11.20:46:56
We are now setting the sys.std{in,out,err}.encoding attribute at startup 
time, but this value should be None for any of these that not isatty().

We should check for this during initialization of PySystemState, but 
this is awkward right now because it'd ultimately rely on os.isatty. And 
the import system isn't ready to handle it at that point
msg4664 (view) Author: Philip Jenvey (pjenvey) Date: 2009-05-10.00:01:09
fixed in r6321
Date User Action Args
2009-05-10 00:01:10pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg4664
2009-04-11 20:46:58pjenveycreate