[Python-checkins] r67287 - python/trunk/Lib/asyncore.py
josiah.carlson
python-checkins at python.org
Wed Nov 19 19:26:12 CET 2008
Author: josiah.carlson
Date: Wed Nov 19 19:26:12 2008
New Revision: 67287
Log:
Fix for issue 4332 in trunk.
Modified:
python/trunk/Lib/asyncore.py
Modified: python/trunk/Lib/asyncore.py
==============================================================================
--- python/trunk/Lib/asyncore.py (original)
+++ python/trunk/Lib/asyncore.py Wed Nov 19 19:26:12 2008
@@ -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()
More information about the Python-checkins
mailing list