diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2008-11-19 18:26:12 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2008-11-19 18:26:12 (GMT) |
commit | a98d72d5983a1dafe3f2d1b9bafc97b9e35f9b92 (patch) | |
tree | 9c2dc83923fe90b02d59f1e8e18eae05f8275cee /Lib/asyncore.py | |
parent | 6347098a26238b6646680d8c6696595c6742292e (diff) | |
download | cpython-a98d72d5983a1dafe3f2d1b9bafc97b9e35f9b92.zip cpython-a98d72d5983a1dafe3f2d1b9bafc97b9e35f9b92.tar.gz cpython-a98d72d5983a1dafe3f2d1b9bafc97b9e35f9b92.tar.bz2 |
Fix for issue 4332 in trunk.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 9cd4961..75fd5ae 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -615,6 +615,6 @@ if os.name == 'posix': 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() |