Home
last modified time | relevance | path

Searched refs:exctype (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/dports/devel/py-pydevd/pydevd-1.1.1/_pydevd_bundle/
H A Dpydevd_breakpoints.py27 exctype = _get_class(qname)
29 if exctype is not None:
30 self.name = exctype.__name__
39 self.type = exctype
57 if not exctype:
59 return str(exctype.__module__) + '.' + exctype.__name__
61 def get_exception_name(exctype): argument
62 if not exctype:
64 return exctype.__name__
95 def _excepthook(exctype, value, tb): argument
[all …]
/dports/devel/pycharm-pro/pycharm-2020.2.3/plugins/python/helpers/pydev/_pydevd_bundle/
H A Dpydevd_breakpoints.py22 exctype = get_exception_class(qname)
24 if exctype is not None:
25 self.name = exctype.__name__
36 self.type = exctype
83 def get_exception_full_qname(exctype): argument
84 if not exctype:
86 return str(exctype.__module__) + '.' + exctype.__name__
89 def get_exception_name(exctype): argument
90 if not exctype:
92 return exctype.__name__
[all …]
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.core_8.2.0.202102211157/pysrc/_pydevd_bundle/
H A Dpydevd_breakpoints.py21 exctype = get_exception_class(qname)
23 if exctype is not None:
24 self.name = exctype.__name__
36 self.type = exctype
80 def get_exception_breakpoint(exctype, exceptions): argument
81 if not exctype:
84 exception_full_qname = str(exctype.__module__) + '.' + exctype.__name__
99 exctype, value, tb = arg
102 exception_breakpoint = py_db.get_exception_breakpoint(exctype, break_on_uncaught_exceptions)
112 if exctype is KeyboardInterrupt:
[all …]
/dports/devel/py-debugpy/debugpy-1.5.1/src/debugpy/_vendored/pydevd/_pydevd_bundle/
H A Dpydevd_breakpoints.py21 exctype = get_exception_class(qname)
23 if exctype is not None:
24 self.name = exctype.__name__
36 self.type = exctype
110 def get_exception_breakpoint(exctype, exceptions): argument
111 if not exctype:
114 exception_full_qname = str(exctype.__module__) + '.' + exctype.__name__
129 exctype, value, tb = arg
132 exception_breakpoint = py_db.get_exception_breakpoint(exctype, break_on_uncaught_exceptions)
142 if exctype is KeyboardInterrupt:
[all …]
/dports/sysutils/libdnf/libdnf-0.64.0/python/hawkey/
H A Dexception-py.cpp74 PyObject *exctype = NULL; in ret2e() local
79 exctype = HyExc_Runtime; in ret2e()
82 exctype = PyExc_IOError; in ret2e()
87 exctype = HyExc_Value; in ret2e()
97 assert(exctype); in ret2e()
98 PyErr_SetString(exctype, msg); in ret2e()
/dports/devel/tortoisehg/tortoisehg-5.9.3/tortoisehg/util/
H A Dthread2.py13 def _async_raise(tid, exctype): argument
15 if not inspect.isclass(exctype):
17 res = ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exctype))
35 def raise_exc(self, exctype): argument
37 _async_raise(self._get_my_tid(), exctype)
/dports/www/py-django-appconf/django-appconf-1.0.2/appconf/
H A Dutils.py14 exctype, excvalue, tb = sys.exc_info()
15 return exception_handler(import_path, exctype, excvalue, tb)
22 exctype, excvalue, tb = sys.exc_info()
23 return exception_handler(import_path, exctype, excvalue, tb)
/dports/devel/py-datatest/datatest-0.11.1/datatest/
H A Drunner.py68 exctype, value, tb = err
71 if issubclass(exctype, ValidationError):
77 return (exctype, exctype(differences, desc), tb)
87 return (exctype, value, tb) # <- EXIT using original value
89 return (exctype, exctype(*args), tb)
106 exctype, value, tb = err # Unpack tuple.
109 err = (exctype, value, tb) # Repack tuple.
/dports/devel/py-testoob/testoob-1.15/src/testoob/reporting/
H A Dcommon.py24 exctype, value, tb = err
28 if exctype is test.failure_exception_type():
31 return ''.join(traceback.format_exception(exctype, value, tb, length))
32 return ''.join(traceback.format_exception(exctype, value, tb))
/dports/science/atompaw/atompaw-4.1.1.0/src/
H A Daeatom.F90112 exctype=input_dataset%exctype
147 CALL InitOrbit(AEOrbit,j,Grid%n,exctype)
452 ELSE IF (TRIM(OrbitPtr%exctype)=='HF'.or.TRIM(OrbitPtr%exctype)=='HFV') THEN
693 IF (TRIM(Orbit%exctype)=='EXX') THEN
700 ELSEIF (TRIM(Orbit%exctype)=='HF'.or.TRIM(Orbit%exctype)=='HFV') THEN
963 If (TRIM(AEOrbit%exctype)=='EXX'.or.TRIM(AEOrbit%exctype)=='EXXKLI') &
965 If (TRIM(AEOrbit%exctype)=='HF'.or.TRIM(AEOrbit%exctype)=='HFV') &
1030 exctype=AEOrbit%exctype
1031 IF(TRIM(exctype)/='EXX'.and.TRIM(exctype)/='EXXCS'.and.TRIM(exctype)/='EXXKLI') CALL initexch
1059 If (TRIM(AEOrbit%exctype)=='EXX'.or.TRIM(AEOrbit%exctype)=='EXXKLI') &
[all …]
H A Datomdata.F9018 CHARACTER(132) :: exctype component
96 SUBROUTINE InitOrbit(Orbit,norbit,n,exctype) argument
99 CHARACTER(*),INTENT(IN) :: exctype local
102 Orbit%norbit=norbit;Orbit%exctype=TRIM(exctype)
124 If (exctype == "HF".or.exctype == "EXXKLI") then
158 CALL InitOrbit(COrbit,SOrbit%norbit,n,SOrbit%exctype)
179 IF (SOrbit%exctype == "HF".or.SOrbit%exctype == "EXXKLI") then
H A Dpwscfinterface.F9084 if (TRIM(exctype)=='LDA-PW') then
86 tmplabel=TRIM(exctype)
88 elseif (TRIM(exctype)=='GGA-PBE') then
90 tmplabel=TRIM(exctype)
92 elseif (TRIM(exctype)=='GGA-PBESOL') then
94 tmplabel=TRIM(exctype)
97 call libxc2UPF(exctype,UPFlabel,tmplabel,testing)
101 write(std_out,'(2x,a,a)') " exctype = ", exctype
110 write(std_out,'(2x,a,a)') " exctype = ", exctype
/dports/devel/py-represent/Represent-1.6.0.post0/represent/compat/
H A Dcontextlib.py24 def __exit__(self, exctype, excinst, exctb): argument
34 return exctype is not None and issubclass(exctype, self._exceptions)
/dports/databases/pymongo/pymongo-3.12.0/bson/
H A Dpy3compat.py52 def reraise(exctype, value, trace=None): argument
53 raise exctype(str(value)).with_traceback(trace)
92 def reraise(exctype, value, trace=None): argument
93 _reraise(exctype, str(value), trace)
/dports/www/py-paste/Paste-3.4.6/paste/util/
H A Dkillthread.py14 def async_raise(tid, exctype): argument
19 if not isinstance(exctype, (six.class_types, type)):
23 res = ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exctype))
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/Paste/paste/util/
H A Dkillthread.py14 def async_raise(tid, exctype): argument
19 if not isinstance(exctype, (six.class_types, type)):
23 res = ctypes.pythonapi.PyThreadState_SetAsyncExc(ctypes.c_long(tid), ctypes.py_object(exctype))
/dports/devel/py-squint/squint-0.1.0/squint/_compatibility/
H A Dcontextlib.py36 def __exit__(self, exctype, excinst, exctb): argument
37 return exctype is not None and issubclass(exctype, self._exceptions)
/dports/devel/py-datatest/datatest-0.11.1/datatest/_compatibility/
H A Dcontextlib.py36 def __exit__(self, exctype, excinst, exctb): argument
37 return exctype is not None and issubclass(exctype, self._exceptions)
/dports/science/py-chainer/chainer-7.8.0/chainermn/
H A Dglobal_except_hook.py9 def _global_except_hook(exctype, value, traceback): argument
13 _orig_except_hook(exctype, value, traceback)
15 sys.__excepthook__(exctype, value, traceback)
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/scripting/
H A Dpyomo_main.py27 exctype, err, tb = sys.exc_info() # BUG? variable
31 % (entrypoint, exctype.__name__, err,
34 exctype = err = tb = None variable
/dports/www/qutebrowser/qutebrowser-2.4.0/qutebrowser/browser/webkit/network/
H A Dwebkitqutescheme.py73 exctype = type(e)
75 exctype.__name__))
76 return networkreply.ErrorNetworkReply(request, str(e), errors[exctype])
/dports/devel/eric6/eric6-21.11/eric/eric6/E5Network/
H A DE5JsonClient.py142 exctype, excval, exctb = sys.exc_info()
149 "ExceptionType": str(exctype),
191 exctype, excval, exctb = sys.exc_info()
198 "ExceptionType": str(exctype),
/dports/devel/eric6/eric6-21.11/eric/eric6/DebugClients/Python/
H A DDebugBase.py860 exctype, excval, exctb = excinfo
862 if ((exctype in [GeneratorExit, StopIteration] and
864 exctype == SystemExit):
868 if exctype in [SyntaxError, IndentationError]:
902 if (exctype == RuntimeError and
905 exctype == RecursionError): # __IGNORE_WARNING__
920 exctype = self.__extractExceptionName(exctype)
926 "unhandled {0!s}".format(str(exctype))
928 str(exctype)
973 def __extractExceptionName(self, exctype): argument
[all …]
/dports/multimedia/gpodder/gpodder-3.10.17/src/gpodder/
H A Dlog.py50 def on_uncaught_exception(exctype, value, tb): argument
51 message = ''.join(traceback.format_exception(exctype, value, tb))
53 original_excepthook(exctype, value, tb)
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/mcc/tst/unittest2/
H A Dresult.py146 exctype, value, tb = err
150 if exctype is test.failureException:
153 msgLines = traceback.format_exception(exctype, value, tb, length)
155 msgLines = traceback.format_exception(exctype, value, tb)

12345678910>>...15