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
Generate TypeError when __index__ return non-integer value
* Handle error of slice in range type
* When an error occurs, the error is returned and
* when the value is none the slice's values have a default value.
* Add tests for __index__
* Add tests for __index__ function
* Add tests for __index__ in list, tuple, string
An error should occur when returning a non-integer value from index.
Expected result (cpython)
Actual result (gpython)
The text was updated successfully, but these errors were encountered: