Index: asyncore.py =================================================================== --- asyncore.py (Revision 67239) +++ asyncore.py (Arbeitskopie) @@ -615,6 +615,6 @@ fcntl.fcntl(fd, fcntl.F_SETFL, flags) def set_file(self, fd): - self._fileno = fd self.socket = file_wrapper(fd) + self._fileno = self.socket.fileno () self.add_channel()