Lines Matching refs:traps
2362 newcontext.traps[exception] = 0
3783 traps=None, flags=None, argument
3806 if traps is None:
3807 self.traps = dc.traps.copy()
3808 elif not isinstance(traps, dict):
3809 self.traps = dict((s, int(s in traps)) for s in _signals)
3811 self.traps = traps
3828 names = [t.__name__ for t, v in self.traps.items() if v]
3839 nc = Context(self.prec, self.rounding, self.traps,
3846 nc = Context(self.prec, self.rounding, self.traps.copy(),
3866 if not self.traps[error]:
5881 traps=[DivisionByZero, Overflow, InvalidOperation],
5895 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],
5901 traps=[],