def __new__(cls, *args, **kw):
    instance = object.__new__(cls)
cls._instances.append(instance)
return instance

@classmethod
def get_instances(cls):
    return self._instances
How do I get a reference to all classes implementing descriptor object in python