def __new__(cls, *args, **kwargs): """"This is needed because CubeList overrides __new__ without allowing for variable args and kwargs, so we have problems with subclassing unless we explicitly allow it again here.""" return CubeList.__new__(cls)