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
b56a30d7
Commit
b56a30d7
authored
Oct 16, 2018
by
Josh Snyder
Committed by
Jason Madden
Oct 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation and CHANGES
parent
4418cddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
CHANGES.rst
CHANGES.rst
+6
-0
src/gevent/_hub_primitives.py
src/gevent/_hub_primitives.py
+5
-0
No files found.
CHANGES.rst
View file @
b56a30d7
...
...
@@ -18,6 +18,12 @@
- Build with Cython 0.29 in '3str' mode.
- There is new documentation on the possibility that `gevent.iwait` can produce
memory leaks when not fully consumed. To prevent such situations,
`gevent.iwait` now provides optional contextmanager support, which will ensure
that all resources are cleaned up. See :pr:`1290`, provided by Josh Snyder.
1.3.7 (2018-10-12)
==================
...
...
src/gevent/_hub_primitives.py
View file @
b56a30d7
...
...
@@ -180,6 +180,11 @@ def iwait_on_objects(objects, timeout=None, count=None):
Iteratively yield *objects* as they are ready, until all (or *count*) are ready
or *timeout* expired.
This function allocates resources which must be cleaned up. Consuming the
iterator until it is exhausted will automatically clean them up, and it is
also possible to use the returned object as a context manager to ensure
cleanup occurs.
:param objects: A sequence (supporting :func:`len`) containing objects
implementing the wait protocol (rawlink() and unlink()).
:keyword int count: If not `None`, then a number specifying the maximum number
...
...
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