Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
ae45fbc8
Commit
ae45fbc8
authored
Dec 05, 2017
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
io.fd must be settable.
parent
d2557c2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/gevent/libuv/watcher.py
src/gevent/libuv/watcher.py
+4
-5
No files found.
src/gevent/libuv/watcher.py
View file @
ae45fbc8
...
...
@@ -266,11 +266,10 @@ class io(_base.IoMixin, watcher):
# For testing.
return
self
.
_watcher_ref
.
_watcher
@
property
def
fd
(
self
):
# ares.pyx depends on this property
return
self
.
_watcher_ref
.
_fd
# ares.pyx depends on this property,
# and test__core uses it too
fd
=
property
(
lambda
self
:
self
.
_watcher_ref
.
_fd
,
lambda
self
,
nv
:
self
.
_watcher_ref
.
_set_fd
(
nv
))
def
_io_maybe_stop
(
self
):
for
r
in
self
.
_multiplex_watchers
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment