Message177094
If stdout was closed before closing stderr, then stdout problems could be reported, and that is what I would expect when using Python this way.
os.fsync(1) helps, but only if preceeded by sys.stdout.flush() and it seems a bit cumbersome.
Is there any downside to doing close(1) explicitely?
cat, grep, dd and echo close their stdout, why couldn't Python do this? |
|
Date |
User |
Action |
Args |
2012-12-07 14:08:03 | filip.zyzniewski | set | recipients:
+ filip.zyzniewski, neologix |
2012-12-07 14:08:03 | filip.zyzniewski | set | messageid: <1354889283.34.0.359637854781.issue16635@psf.upfronthosting.co.za> |
2012-12-07 14:08:03 | filip.zyzniewski | link | issue16635 messages |
2012-12-07 14:08:03 | filip.zyzniewski | create | |
|