Home
last modified time | relevance | path

Searched refs:exc_val (Results 1 – 25 of 1254) sorted by relevance

12345678910>>...51

/dports/devel/py-nose/nose-1.3.7/nose/
H A Dfailure.py21 def __init__(self, exc_class, exc_val, tb=None, address=None): argument
22 log.debug("A failure! %s %s %s", exc_class, exc_val, format_tb(tb))
24 self.exc_val = exc_val
31 getattr(self.exc_class, '__name__', self.exc_class), self.exc_val)
38 if is_base_exception(self.exc_val):
39 raise self.exc_val, None, self.tb
40 raise self.exc_class, self.exc_val, self.tb
42 raise self.exc_class(self.exc_val)
/dports/biology/py-crossmap/CrossMap-0.5.4/.eggs/nose-1.3.7-py3.6.egg/nose/
H A Dfailure.py21 def __init__(self, exc_class, exc_val, tb=None, address=None): argument
22 log.debug("A failure! %s %s %s", exc_class, exc_val, format_tb(tb))
24 self.exc_val = exc_val
31 getattr(self.exc_class, '__name__', self.exc_class), self.exc_val)
38 if is_base_exception(self.exc_val):
39 raise self.exc_val.with_traceback(self.tb)
40 raise self.exc_class(self.exc_val).with_traceback(self.tb)
42 raise self.exc_class(self.exc_val)
/dports/biology/py-crossmap/CrossMap-0.5.4/.eggs/nose-1.3.7-py3.7.egg/nose/
H A Dfailure.py21 def __init__(self, exc_class, exc_val, tb=None, address=None): argument
22 log.debug("A failure! %s %s %s", exc_class, exc_val, format_tb(tb))
24 self.exc_val = exc_val
31 getattr(self.exc_class, '__name__', self.exc_class), self.exc_val)
38 if is_base_exception(self.exc_val):
39 raise self.exc_val.with_traceback(self.tb)
40 raise self.exc_class(self.exc_val).with_traceback(self.tb)
42 raise self.exc_class(self.exc_val)
/dports/devel/py-oslo.utils/oslo.utils-4.12.0/oslo_utils/
H A Dexcutils.py218 def __exit__(self, exc_type, exc_val, exc_tb): argument
334 def __exit__(self, exc_type, exc_val, exc_tb): argument
335 if exc_val is not None:
336 return self._should_ignore_ex(exc_val)
344 exc_type, exc_val, traceback = sys.exc_info()
348 if exc_val is ex:
350 if exc_val is None:
351 exc_val = exc_type()
354 raise exc_val
356 exc_val = None
[all …]
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pycharm/nose_helper/
H A Dfailure.py9 def __init__(self, exc_class, exc_val, tb = None): argument
11 self.exc_val = exc_val
16 getattr(self.exc_class, '__name__', self.exc_class), self.exc_val)
20 reraise(self.exc_class, self.exc_val, self.tb)
22 raise self.exc_class(self.exc_val)
/dports/databases/py-psycopg/psycopg-3.0.5/psycopg/
H A Dtransaction.py118 exc_val: Optional[BaseException],
121 if not exc_val and not self.force_rollback:
128 return (yield from self._rollback_gen(exc_val))
156 def _rollback_gen(self, exc_val: Optional[BaseException]) -> PQGen[bool]:
157 if isinstance(exc_val, Rollback):
184 if isinstance(exc_val, Rollback):
185 if not exc_val.transaction or exc_val.transaction is self:
211 exc_val: Optional[BaseException],
215 return self._conn.wait(self._exit_gen(exc_type, exc_val, exc_tb))
237 exc_val: Optional[BaseException],
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/module_utils/mh/mixins/
H A Ddeps.py21 self.exc_val = None
27 def __exit__(self, exc_type, exc_val, exc_tb): argument
30 self.exc_val = exc_val
36 return self.msg or str(self.exc_val)
51 … exception="\n".join(traceback.format_exception(d.exc_type, d.exc_val, d.exc_tb)),
/dports/devel/py-opentracing/opentracing-2.4.0/opentracing/
H A Dspan.py211 def __exit__(self, exc_type, exc_val, exc_tb): argument
218 Span._on_error(self, exc_type, exc_val, exc_tb)
222 def _on_error(span, exc_type, exc_val, exc_tb): argument
223 if not span or not exc_val:
229 logs.MESSAGE: str(exc_val),
230 logs.ERROR_OBJECT: exc_val,
/dports/devel/hyperscan/boost_1_75_0/libs/leaf/test/
H A Dtry_catch_test.cpp39 struct exc_val: std::exception { int value; explicit exc_val(int v): value(v) { } }; in exc_val() argument
548 throw leaf::exception(exc_val{42}); in main()
551 []( leaf::match_value<exc_val, 42> ) in main()
565 throw leaf::exception(exc_val{42}); in main()
568 []( leaf::match_value<exc_val, 41> ) in main() argument
582 throw exc_val{42}; in main()
585 []( leaf::match_value<exc_val, 42> ) in main() argument
599 throw exc_val{42}; in main()
602 []( leaf::match_value<exc_val, 41> ) in main() argument
/dports/devel/py-cheetah3/Cheetah3-3.2.6/Cheetah/
H A DErrorCatchers.py19 def warn(self, exc_val, code, rawCode, lineCol): argument
28 def warn(self, exc_val, code, rawCode, lineCol): argument
33 def warn(self, exc_val, code, rawCode, lineCol): argument
46 def warn(self, exc_val, code, rawCode, lineCol): argument
/dports/print/scribus-devel/scribus-1.5.7/codegen/cheetah/Cheetah/
H A DErrorCatchers.py29 def warn(self, exc_val, code, rawCode, lineCol): argument
35 def warn(self, exc_val, code, rawCode, lineCol): argument
39 def warn(self, exc_val, code, rawCode, lineCol): argument
50 def warn(self, exc_val, code, rawCode, lineCol): argument
/dports/net-im/py-matrix-synapse/synapse-1.50.2/synapse/util/
H A Dretryutils.py169 exc_val: Optional[BaseException],
179 elif isinstance(exc_val, CodeMessageException):
188 if exc_val.code == 404 and self.backoff_on_404:
190 elif exc_val.code in (401, 429):
192 elif exc_val.code < 500:
226 exc_val,
/dports/dns/py-dnspython2/dnspython-2.1.0/dns/
H A Dexception.py138 def __exit__(self, exc_type, exc_val, exc_tb): argument
139 if exc_type is not None and not isinstance(exc_val,
141 raise self.exception_class(str(exc_val)) from exc_val
/dports/devel/py-aws-xray-sdk/aws-xray-sdk-2.8.0/aws_xray_sdk/core/
H A Dasync_recorder.py13 async def __aexit__(self, exc_type, exc_val, exc_tb): argument
14 return self.__exit__(exc_type, exc_val, exc_tb)
39 async def __aexit__(self, exc_type, exc_val, exc_tb): argument
40 return self.__exit__(exc_type, exc_val, exc_tb)
/dports/cad/csxcad/CSXCAD-0.6.2-103-g3c4fb66/python/tests/
H A Dtest_CSXCAD.py39 exc_val = np.array([0,1,0]) variable
40 exc = csx.AddExcitation('excite', 0, exc_val)
43 assert (exc.GetExcitation()==exc_val).all()
/dports/devel/py-anyio/anyio-3.4.0/src/anyio/_core/
H A D_compat.py64 exc_val: Optional[BaseException],
66 return self._cm.__exit__(exc_type, exc_val, exc_tb)
161 exc_val: Optional[BaseException],
173 exc_val: Optional[BaseException],
175 return self.__exit__(exc_type, exc_val, exc_tb)
/dports/devel/py-robotframework/robotframework-3.1.2/src/robot/variables/
H A Dassigner.py94 def __exit__(self, exc_type, exc_val, exc_tb): argument
95 if exc_val is None:
97 failure = self._get_failure(exc_type, exc_val, exc_tb)
101 def _get_failure(self, exc_type, exc_val, exc_tb): argument
102 if isinstance(exc_val, ExecutionStatus):
103 return exc_val
104 exc_info = (exc_type, exc_val, exc_tb)
/dports/devel/py-ddtrace/ddtrace-0.56.1/ddtrace/
H A Dspan.py450 (exc_type, exc_val, exc_tb) = sys.exc_info()
452 if exc_type and exc_val and exc_tb:
453 self.set_exc_info(exc_type, exc_val, exc_tb)
458 def set_exc_info(self, exc_type, exc_val, exc_tb): argument
461 if not (exc_type and exc_val and exc_tb):
471 traceback.print_exception(exc_type, exc_val, exc_tb, file=buff, limit=20)
477 self.meta[ERROR_MSG] = str(exc_val)
524 def __exit__(self, exc_type, exc_val, exc_tb): argument
527 self.set_exc_info(exc_type, exc_val, exc_tb)
/dports/devel/b2/B2_Command_Line_Tool-1.3.8/b2/
H A Dprogress.py76 def __exit__(self, exc_type, exc_val, exc_tb): argument
205 def __exit__(self, exc_type, exc_val, exc_tb): argument
206 return self.stream.__exit__(exc_type, exc_val, exc_tb)
246 def __exit__(self, exc_type, exc_val, exc_tb): argument
247 return self.stream.__exit__(exc_type, exc_val, exc_tb)
305 def __exit__(self, exc_type, exc_val, exc_tb): argument
306 return self.stream.__exit__(exc_type, exc_val, exc_tb)
/dports/archivers/py-borgbackup/borgbackup-1.1.17/src/borg/crypto/
H A Dfile_integrity.py19 def __exit__(self, exc_type, exc_val, exc_tb): argument
20 self.fd.__exit__(exc_type, exc_val, exc_tb)
65 def __exit__(self, exc_type, exc_val, exc_tb): argument
68 super().__exit__(exc_type, exc_val, exc_tb)
190 def __exit__(self, exc_type, exc_val, exc_tb): argument
194 self.hasher.__exit__(exc_type, exc_val, exc_tb)
/dports/devel/py-tooz/tooz-2.8.0/tooz/
H A Dlocking.py31 def __exit__(self, exc_type, exc_val, exc_tb): argument
32 self.lock.__exit__(exc_type, exc_val, exc_tb)
56 def __exit__(self, exc_type, exc_val, exc_tb): argument
/dports/net/py-rabbitpy/rabbitpy-1.0.0/rabbitpy/
H A Dtx.py46 def __exit__(self, exc_type, exc_val, exc_tb): argument
52 LOGGER.warning('Exiting Transaction on exception: %r', exc_val)
55 raise exc_val
/dports/sysutils/conan/conan-1.44.0/conans/util/
H A Dlocks.py15 def __exit__(self, exc_type, exc_val, exc_tb): # @UnusedVariable argument
27 def __exit__(self, exc_type, exc_val, exc_tb): # @UnusedVariable argument
84 def __exit__(self, exc_type, exc_val, exc_tb): # @UnusedVariable argument
102 def __exit__(self, exc_type, exc_val, exc_tb): # @UnusedVariable argument
/dports/devel/py-taskflow/taskflow-4.6.3/taskflow/types/
H A Dfailure.py368 def _extract_causes_iter(cls, exc_val): argument
369 seen = [exc_val]
370 causes = [exc_val]
372 exc_val = causes.pop()
373 if exc_val is None:
384 suppress_context = getattr(exc_val,
392 attr_val = getattr(exc_val, attr_name, None)
/dports/devel/py-os-brick/os-brick-5.1.0/os_brick/
H A Dexception.py208 def add_exception(self, exc_type, exc_val, exc_tb): argument
211 self._exceptions.append((exc_type, exc_val, exc_tb))
222 def __exit__(self, exc_type, exc_val, exc_tb): argument
224 self.add_exception(exc_type, exc_val, exc_tb)

12345678910>>...51