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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16635>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to