Eugene Tang added the comment: A similar problem seems to appear in Python 3.5
./python -c 'import sys; print("x", file=sys.stdout)' 1>&- ; echo $? 0 ./python -c 'import sys; print("x", file=sys.stderr)' 2>&- ; echo $? x 0 but again, this does seem to be a very specific corner case. ---------- nosy: +eugenet versions: +Python 3.5 -Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7932> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com