id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 17052 dictConfig does not correctly handle absolute imports David Cramer nobody "When you have a module, say foo.bar.logging.Handler, and you try to register that with dictConfig it will cause an import error due to the way the recursive importing was implemented. While we're not using Django for this, we are using logutils (which is still the same code): https://github.com/django/django/blob/master/django/utils/dictconfig.py#L157 We patched it by simply using __import__ correctly: {{{ class NotBrokenDictConfig(logutils.dictconfig.DictConfigurator): def resolve(self, s): module, cls_name = s.rsplit('.', 1) return getattr(self.importer(module, {}, {}, [cls_name]), cls_name) }}} See also https://github.com/dcramer/raven/issues/4" Bug closed Utilities dev Normal wontfix Accepted 0 0 0 0 0 0