[Python-checkins] r67288 - python/branches/release26-maint/Lib/asyncore.py
josiah.carlson
python-checkins at python.org
Wed Nov 19 19:32:46 CET 2008
Author: josiah.carlson
Date: Wed Nov 19 19:32:45 2008
New Revision: 67288
Log:
This fixes issue 4332 in 2.6 maintenance.
Modified:
python/branches/release26-maint/Lib/asyncore.py
Modified: python/branches/release26-maint/Lib/asyncore.py
==============================================================================
--- python/branches/release26-maint/Lib/asyncore.py (original)
+++ python/branches/release26-maint/Lib/asyncore.py Wed Nov 19 19:32:45 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