-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
TypeError: 'Uninferable' object is not iterable #2434
TypeError: 'Uninferable' object is not iterable #2434
Comments
I still get the same error after |
Thanks for creating an issue! This should be fixed now in astroid's master. |
@PCManticore - Wow, you fix bugs in < 1 hour after they are reported. Thanks! Is a bugfix release coming up in the next days, or should I install master? |
No worries, thanks for the clear report! |
This doesn't appear to have been fixed. I'm running the latest astroid master (commit 1f0eff526dcc3dea0af68288c719d23767bd2581) and I get
When running pylint on import asyncio
try:
pass
except invalid_name:
raise
except asyncio.CancelledError:
pass And almost identical traceback (only last line differs)
running pylint on try:
pass
except invalid_name:
raise
except invalid_name:
pass |
@Hornwitser From the stack trace, this looks like a completely different problem, albeit involving the same Uninferable object. |
@Hornwitser The linked pylint commit should fix the problem for you. Make sure to get the latest pylint from github. |
Oh, it looked the same to me. Sorry about that. The latest master works, thanks 👍. |
I'm getting this error:
Version:
This should let you reproduce:
The text was updated successfully, but these errors were encountered: