[issue1415] py3k: pythonw.exe fails because std streams a missing

Amaury Forgeot d'Arc report at bugs.python.org
Tue Nov 13 18:07:29 CET 2007


Amaury Forgeot d'Arc added the comment:

> As far as I can see print() works if sys.stdout is either None
> (discard output ASAP) or a file like object. Even
> print(file=syst.stderr) works.

Ah, I prefer this.

> sys.stdout.write() is going to fail when sys.stdout is None 
> but that's not my concern. 

It's not very important indeed.

I'm happy with the current behaviour. Let's close this issue.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1415>
__________________________________


More information about the Python-bugs-list mailing list