Commit 0e032cc2 authored by Robert Bradshaw's avatar Robert Bradshaw

Bug in large literal indexing.

parent db0458d5
......@@ -126,3 +126,9 @@ def test_boundscheck(list L, tuple t, object o, unsigned long ix):
IndexError: string index out of range
"""
return L[ix], t[ix], o[ix]
def large_literal_index(object o):
"""
>>> large_literal_index({1000000000000000000000000000000: "yes"})
"""
return o[1000000000000000000000000000000]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment