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

Understand IndexError #578

Closed
pylint-bot opened this issue Jul 3, 2015 · 0 comments · Fixed by #5552
Closed

Understand IndexError #578

pylint-bot opened this issue Jul 3, 2015 · 0 comments · Fixed by #5552
Labels
Enhancement ✨ Improvement to a component
Milestone

Comments

@pylint-bot
Copy link

Originally reported by: Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore)


In certain situations, we could understand IndexErrors:

#!python

from astroid.test_utils import extract_node
n = extract_node('''
[1, 2, 3][10] #Index out of range
''')
print(n.infered())

@pylint-bot pylint-bot added the Enhancement ✨ Improvement to a component label Dec 9, 2015
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.14.0 milestone Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ Improvement to a component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants