def sync_with_handlers(self, handlers=()):
        if not handlers:
            return

        while self.__messages:
            record = self.__messages.pop(0)
            for handler in handlers:
                if handler.level > record.levelno:
                    # If the handler's level is higher than the log record one,
                    # it should not handle the log record
                    continue
                handler.handle(record)
Regression tests for #7588
dataset/ETHPy150Open saltstack/salt/salt/log/handlers/__init__.py/TemporaryLoggingHandler.sync_with_handlers--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/model_inheritance_regress/tests.py/ModelInheritanceTest.test_all_fields_from_abstract_base_class