Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would have preferred if the article did the same without using yield at all, because frankly that's where I feel the real magic is.

See here for a much more in-depth description of coroutines in python,

https://aosabook.org/en/500L/a-web-crawler-with-asyncio-coro...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: