class ListView(object):

    def __init__(self, list_):
        self._list = list_

def __getitem__(self, index):
    return self._list[index]

def __repr__(self):
    return 'ListView(%r)' % self._list

def index(self, value):
    pass
Make a python list constant and uneditable