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 <[email protected]>
<http://bugs.python.org/issue18298>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com