Did I find the right examples for you? yes no

All Samples(9)  |  Call(4)  |  Derive(0)  |  Import(5)
Append-only list with maximum length.

- Raise `_LayerFull` on attempts to exceed that length.

- Iteration occurs in reverse order of appends, and yields (index, object)
  tuples.

- Hold generation (a sequence number) on behalf of `AppendStack`.

src/a/p/appendonly-1.0.1/appendonly/tests.py   appendonly(Download)
    def _getTargetClass(self):
        from appendonly import _Layer
        return _Layer
 
    def test___iter___filled(self):
    def test_fromLayer(self):
        from appendonly import _Layer
        klass = self._getTargetClass()
        source = _Layer(max_length=42, generation=13)
        for i in range(25):
    def test___iter___filled(self):
        from appendonly import _Layer
        klass = self._getTargetClass()
        source = _Layer()
        OBJ1 = object()