[New-bugs-announce] [issue16635] Interpreter not closing stdout/stderr on exit
Filip Zyzniewski
report at bugs.python.org
Fri Dec 7 14:33:50 CET 2012
New submission from Filip Zyzniewski:
When using a Python script as a unix pipe filter with its stdout redirected to a file:
python script.py > /nfs/foo
user is not notified of some writing problems on NFS, because these are sometimes reported on close(), and the interpreter never does neither close(1) nor close(2):
$ strace -eclose python -c '' 2>&1 | grep 'close([12])'
$
----------
components: IO
messages: 177090
nosy: filip.zyzniewski
priority: normal
severity: normal
status: open
title: Interpreter not closing stdout/stderr on exit
type: behavior
versions: Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16635>
_______________________________________
More information about the New-bugs-announce
mailing list