You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restrict the use of OUT_OF_RANGE to what it was intended to.
Clarify that OUT_OF_RANGE is raised only when reaching the end of
input for interable contents.
Change the few places where we incorrectly raised OUT_OF_RANGE to raise
ILLEGAL_ARGUMENT instead.
This will make code that catches the OUT_OF_RANGE exception more robust
as it won't get confused by spurious uses of the exception class.
Change: 119560848
0 commit comments