Commit ae45fbc8 authored by Jason Madden's avatar Jason Madden

io.fd must be settable.

parent d2557c2e
...@@ -266,11 +266,10 @@ class io(_base.IoMixin, watcher): ...@@ -266,11 +266,10 @@ class io(_base.IoMixin, watcher):
# For testing. # For testing.
return self._watcher_ref._watcher return self._watcher_ref._watcher
@property # ares.pyx depends on this property,
def fd(self): # and test__core uses it too
# ares.pyx depends on this property fd = property(lambda self: self._watcher_ref._fd,
return self._watcher_ref._fd lambda self, nv: self._watcher_ref._set_fd(nv))
def _io_maybe_stop(self): def _io_maybe_stop(self):
for r in self._multiplex_watchers: for r in self._multiplex_watchers:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment