Sxderp

Results 88 comments of Sxderp

I know this is an asyncio thread but I have an implementation in trio and I figured I should share. I think the only thing that doesn't translate to asyncio...

What if you're using `aiohttp` or similar to fetch web pages? Any considerate person writing a bot will space their requests. How would you implement that without just waiting in...

I understand how gather works, but there are workflows in which we don't want to "start off" 100 connection requests. Using gather would cause everything to initialize in fairly quick...

I can get behind a Rule that forbids await in list comprehensions or a single line for loop. I think in most circumstances that would be a mistake. The rate...

Here is a stripped sample of something similar to what I've used. I can also think of examples in IPC in which state is encoded in the response and you...

If you're rate-limiting with more than one I can agree. If it's one I'm not sure I see the point.

Doesn't this create an extra generator? ```python # Same a above but rewritten on less lines [ truths for truths in ([elem for elem in one_list if elem] for one_list...

I'll work on figuring out how to do the tests and hopefully have something by the end of the week.