Message177090
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])'
$ |
|
Date |
User |
Action |
Args |
2012-12-07 13:33:50 | filip.zyzniewski | set | recipients:
+ filip.zyzniewski |
2012-12-07 13:33:50 | filip.zyzniewski | set | messageid: <1354887230.33.0.111304282824.issue16635@psf.upfronthosting.co.za> |
2012-12-07 13:33:50 | filip.zyzniewski | link | issue16635 messages |
2012-12-07 13:33:50 | filip.zyzniewski | create | |
|