Antoine Pitrou added the comment: > Shortly, is_valid_fd always returns true because fd < 0 is always > false as my tests with Visual Studio 2012
Well, that's not all there is, is_valid_fd() does other checks before returning true. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17797> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com