tholzer added the comment: It's still a problem in Python 2.7:
python -c 'import sys; print >> sys.stdout, "x"' 1>&- ; echo $? close failed in file object destructor: sys.excepthook is missing lost sys.stderr 0 But feel free to close as "won't fix", as this seems to be an edge case which might not be worth fixing. ---------- _______________________________________ 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