Start at Python version of RingBuffer.