Christian Heimes added the comment: W/o the closed flag it's impossible to distinguish between closed fd and invalid fd. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1415> __________________________________