I see this is a fairly old question, but this seems like a type of instances when one thing's been created with out expertise in a language element. The collections library exists to meet these functions. There's nothing pythonic about subclassing your very own lists just because you a necessity https://helpmehigh.com/