[New-bugs-announce] [issue18298] pythonw.exe fails with redirected stdett
anatoly techtonik
report at bugs.python.org
Tue Jun 25 11:09:46 CEST 2013
New submission from anatoly techtonik:
---cut test.py---
print("-1-")
open("-2-", "w").write("-3-")
---cut test.py---
> C:\Python27\pythonw.exe test.py > -4-
> type -4-
-1-
> C:\Python27\pythonw.exe test.py 2> -4-
> type -4-
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
> C:\Python27\python.exe test.py 2> -4-
-1-
>type -4-
>
This may also affect subprocess calls under pythonw.exe I am running Python 2.7.3
----------
messages: 191839
nosy: techtonik
priority: normal
severity: normal
status: open
title: pythonw.exe fails with redirected stdett
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18298>
_______________________________________
More information about the New-bugs-announce
mailing list