'Retrieve and delete element *index*. The header and stream will be
adjusted to follow the modification.
:param item: The index of the element to remove, optional. It defaults
to the first element.
You can also use the following syntax to delete elements.
del log[0]
del log[1::5]'

def pop(self, index=0):

    if (index < self.buffindex):
        self.buffindex -= 1
    return super(self.__class__, self).pop(index)
