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

You can code your own wrapper for this.

Like https://github.com/Tygs/ayo

It's not as good as having it in the stdlib, because people can still call ensure_future and not await it, but it's a huge improvement and completly compatible with any asyncio code.



Yup for sure. My complaint is part ergonomics of boilerplate, part this really burned me bad and no stdlib documentation warns you upfront about it. So many hours of headscratching.




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

Search: