Serhiy Storchaka added the comment:
Committed the first patch (showing closefd always) with additional test from second path.
---------- versions: -Python 3.4
_______________________________________ Python tracker report@bugs.python.org http://bugs.python.org/issue17401 _______________________________________