Skip to content
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

TooManyRedirects is not properly exposed publicly #3818

Harmon758 opened this issue Jun 7, 2019 · 0 comments · Fixed by #3819


Copy link

commented Jun 7, 2019


544716c (#2943) added TooManyRedirects and added it as aiohttp.TooManyRedirects in the documentation.
However, it's not properly exposed publicly in and can only be referenced as aiohttp.client_exceptions.TooManyRedirects.

Expected Behaviour

aiohttp.TooManyRedirects works, by reference to aiohttp.client_exceptions.TooManyRedirects

Actual Behaviour

AttributeError: module 'aiohttp' has no attribute 'TooManyRedirects

Reproduction Steps

import aiohttp and attempt to use aiohttp.TooManyRedirects


aiohttp 3.5.4
Also reproducible on latest master (81cc715)

@Harmon758 Harmon758 referenced this issue Jun 7, 2019
3 of 3 tasks complete

@helpr helpr bot added the pr-available label Jun 7, 2019

@helpr helpr bot added pr-merged and removed pr-available labels Jun 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.