commit | aae55cbab41ac43408c9226a8e3b37e2244d65d4 | [log] [tgz] |
---|---|---|
author | Josiah Carlson <josiah.carlson@gmail.com> | Wed Nov 19 18:22:41 2008 +0000 |
committer | Josiah Carlson <josiah.carlson@gmail.com> | Wed Nov 19 18:22:41 2008 +0000 |
tree | 031a3090f110622d812c153577eb2009cad3db72 | |
parent | a632a75a3e230e83aa3c436bc637760a3658af1e [diff] [blame] |
This fixes issue 4332 for Py3k.
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index cf68835..236fd9e 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py
@@ -614,6 +614,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()