The async.send method wasn't really doing anything useful. It was just calling the...
authorBen <mastahyeti@gmail.com>
Tue, 17 Jan 2012 21:20:52 +0000 (15:20 -0600)
committerBen <mastahyeti@gmail.com>
Tue, 17 Jan 2012 21:20:52 +0000 (15:20 -0600)
commit97be9ee4cd6326bf7551f7a737877ef2e368ef20
tree57125aab83d919b7e72e3c740b9e7fbd53ad88f8
parentc658b363e38c928a2f7be8e09eece8e11f863b62
The async.send method wasn't really doing anything useful. It was just calling the r.send() method of the Request object 'r'. It took an optional kwarg pools, and assigned it to r._pools which isn't used by anything. This situation was eaither broken or not fully implemented yet. I modified async.map to call r.send rather than send(r) and then modified async.send to actually make use of the pool that it is passed.
requests/async.py