kennethreitz/requests — pull request #457 by asciimoo (2012-02-26 03:38:15+00:00)
Title: [enh] async.imap added -- generator object handling

standard async map eats huge amount of memory depending on the number/size of requests, imap solves this problem.

sample usage:

```python
from requests import async

requests = (async.get('http://127.0.0.1/%d' % i) for i in xrange(100000))
for response in async.imap(requests, size=10):
print response.text
```