Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bfwi
· 12y ago · 0 comments
You can also use grequests (originally a part of requests). It has a grequests.map() function, that I use exactly for this scenario.
Comments
[–]
madjar
12y ago
I used that at some point, but I tend to prefer the explicit yield of asyncio to the implicit context change of greenlets. (This blog post is a good explanation of that:
https://glyph.twistedmatrix.com/2014/02/unyielding.html
)