You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Get rid of more yield froms
* Fix#2540: Drop await aiohttp.request() syntax for sake of context manager
* Fix typo
* Work on dropping Python 3.4 functionality
* Fix typo
* Fix flake8
* Fix spelling
* Code cleanup
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that [new issue].
[new issue]: https://github.com/aio-libs/aiohttp/issues/new
Closing request/session is too error-prone in the case, especially if an exception was generated.
The only robust solution is prohibiting
await request()
syntax but supportingasync with request() as resp:
only.After implementing proposed restriction we'll get very clean context and behavior.
The text was updated successfully, but these errors were encountered: