Andrew Svetlov
Andrew Svetlov
The library has stubs now out-of-the-box. Stubs don't support ParamSpec yet (as @Tinche mentioned) because typeshed should support them for `functools.partial` and `functools.partialmethod`. I plan to fix typeshed first, wait...
The library uses `OrderedDict.popitem(last=False)` for FIFO strategy. `dict.popitem()` supports LIFO only. Thus, the plain replacement is not possible. `functools.lru_cache` uses a simplified version of OrderedDict (it stores in plain dict...
pytest-asyncio 0.17 has just been released. I guess to close the issue.
Regarding headers/tasks duplication -- I suggest leaving it for a separate improvement. Speaking about a serializer, I think that the serializer should work with *primitive* *terminal* types only and know...
Thanks for the report. Perhaps it is because aiohttp closes the connection to a proxy after finishing a single request (keep-alive is not supported). https://github.com/aio-libs/aiohttp/blob/master/aiohttp/connector.py#L1047-L1050 This was added in 2014...
I think we cannot change our defaults but should provide an option to disable encoding on-demand. I've missed is the question about client, server, or both? The client has `auto_decompress`...
@wodny from my understanding, we are talking about decompressing *incoming* data. But in your snippet, you are tweaking *outcoming* response.
Calling `asyncio.get_event_loop()` from non-async code is soft-deprecated now. Please provide a realistic usage example that doesn't contain the deprecated call.
I can imagine an alternative design with postponed initialization. The tricky part is that: threading synchronization primitives can be created from any thread, but async counterparts should be called from...