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

add more conditional thoughts #84

Closed
wants to merge 1 commit into from

Conversation

Allianzcortex
Copy link

Hi,kennethreitz,this PR is added because it's obvious that if key is too big,it will raise an IndexError:Index Out Of Range,and won't be caught;I have read more than three times to make sure that this PR is not meaningless.What do you thing:-D

Hi,kennethreitz,this PR is added because it's obvious that if key is too big,it will raise an `IndexError:Index Out Of Range`,and won't be caught;I have read more than three times to make sure that this PR is not meaningless.What do you thing:-D
@Brobin
Copy link
Contributor

Brobin commented Dec 9, 2016

To me it makes sense to let the IndexError occur. It tells the user exactly what's happening.

@Allianzcortex
Copy link
Author

@Brobin ahh....... It seems right .... I lost my mind ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants