[Python-3000-checkins] r67286 - python/branches/py3k/Lib/asyncore.py
josiah.carlson
python-3000-checkins at python.org
Wed Nov 19 19:22:42 CET 2008
Author: josiah.carlson
Date: Wed Nov 19 19:22:41 2008
New Revision: 67286
Log:
This fixes issue 4332 for Py3k.
Modified:
python/branches/py3k/Lib/asyncore.py
Modified: python/branches/py3k/Lib/asyncore.py
==============================================================================
--- python/branches/py3k/Lib/asyncore.py (original)
+++ python/branches/py3k/Lib/asyncore.py Wed Nov 19 19:22:41 2008
@@ -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()
More information about the Python-3000-checkins
mailing list