-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errno attribute in the aiohttp.ClientConnectorError exception is lost after 3.10.0 when multiple connection attempts fail #76
Comments
This is expected as that is how cpython combines exceptions |
I agree that behavior is less than ideal, but I don't have a good suggestion on how to improve it in cpython. Would you please open an issue at https://github.com/python/cpython/issues/new/choose Perhaps someone will have an idea on how to improve that. |
Ideally cpython would raise an |
It looks like 3.12+ allows getting all the exceptions |
We could backport that change to |
Describe the bug
After aiohttp version 3.10.0, the errno attribute in the aiohttp.ClientConnectorError exception has changed.
To Reproduce
the case is worked before 3.10.0.
Expected behavior
testcase is passed
Logs/tracebacks
Python Version
aiohttp Version
multidict Version
$ python -m pip show multidict
yarl Version
OS
macos
Related component
Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: