R. David Murray added the comment: Perhaps instead it could return an io object built from the file descriptor with closefd=False.
---------- nosy: +r.david.murray versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22884> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com