4 ms·
```python from gevent import monkey monkey.patch_all() for url in list: gevent.spawn(lambda: requests.get(url)) ``` I concern this a problem already solve
by feisuzhu 10y ago
```python
from gevent import monkey
monkey.patch_all()
for url in list:
gevent.spawn(lambda: requests.get(url))
```
I concern this a problem already solved by gevent(or Erlang process / goroutine). Actually, I didn't see a benefit introduced by asyncio.
Monkey patching seems scary but it works quite well in real projects. At least in my medium sized (50KLOC) game project.