def get_exception_class(kls): if IS_PY24 and "BaseException" == kls: kls = "Exception" try: return eval(kls) except: return pydevd_import_class.import_name(kls)
def _get_class( kls ): if IS_PY24 and "BaseException" == kls: kls = "Exception" try: return eval(kls) except: return pydevd_import_class.import_name(kls)
def get_exception_class(kls): try: return eval(kls) except: return pydevd_import_class.import_name(kls)