Antoine Pitrou <pitrou at free.fr> added the comment: The fix is wrong, it doesn't raise an error when the fd is invalid... ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue5544> _______________________________________