Commits

Denis Bilenko committed 6dce0a5

update CHANGES

Comments (0)

Files changed (1)

 
 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() methods 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.
 
 
 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)
 
     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%.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.