IMO this should be ``HTTPException in obj.__bases__``. Another idea is to iterate through all classes and override the dict value only if ``not issubclass(new, old)``.