The CacheSet class is accessible via the sqlobject.cache module.
Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
Move all objects in the cls (or if not given, then in all classes) to the weakref dictionary, where they can be collected.
See the source for more information.