def __len__(self):

        return len(self._children)
maxsize is in characters, not bytes.
dataset/ETHPy150Open openstack/rack/rack/api/xmlutil.py/TemplateElement.__len__--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/log/log_buffer.py/FixedBuffer.__init__