STINNER Victor <victor.stin...@haypocalc.com> added the comment: > Also, I think the SocketIO.fileno mathod should change to: (...)
Since SocketIO.fileno() just calls self._sock.fileno(), it would be easier (and better) to fix socket.socket(). But since socket.fileno() calls socket._fileno() we can just fix it correctly once in socketmodule.c ;-) And instead IOError, I would prefer socket.error. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3826> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com