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
8ad19287
Commit
8ad19287
authored
Aug 03, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CHANGES
parent
63b3e8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CHANGES
CHANGES
+4
-3
No files found.
CHANGES
View file @
8ad19287
...
...
@@ -6,7 +6,7 @@ LifoQueue and PriorityQueue are implemented as well.
gevent.queue.Queue implements the standard Queue interface with the only difference
that Queue(0) means queue of size 0 (i.e. a channel), not a queue of infinite size.
Having size of 0 means that put() method
s always block
until the item is delivered.
Having size of 0 means that put() method
always blocks
until the item is delivered.
gevent.queue will deprecate both coros.Queue and coros.Channel.
...
...
@@ -22,7 +22,7 @@ This makes it easy to check that a timeout caught is actually the one raised:
select() function had a bug of this kind that was fixed.
To instruct a with-block to silent the timeout one
must
pass False as a second
To instruct a with-block to silent the timeout one
can
pass False as a second
argument. In this case Timeout won't leave the with-block it belongs to (but
it can still be caught inside)
...
...
@@ -30,7 +30,8 @@ with Timeout(1, False):
read()
print 'done reading'
Even if read() does not return within a second, "done reading" will still be displayed.
Even if read() does not return within a second and will be interrupted with a
timeout, "done reading" will still be displayed.
spawn and spawn_later now avoid creating a closure and this decreases spawning
time by 50%.
...
...
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