Gregory P. Smith added the comment: python 3 already catches all exceptions and handles closing of p2cwrite, c2pread and errread here. i don't know which branch this patch is against. Regardless, it makes sense that the other fd's, if created by us, also need to be cleaned up. The code also needs to ignore exceptions from the close() call.
http://hg.python.org/cpython/file/cbdd6852a274/Lib/subprocess.py#l811 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com