Lines Matching refs:traps
2478 newcontext.traps[exception] = 0
3889 capitals=None, clamp=None, flags=None, traps=None, argument
3910 if traps is None:
3911 self.traps = dc.traps.copy()
3912 elif not isinstance(traps, dict):
3913 self.traps = dict((s, int(s in traps)) for s in _signals + traps)
3915 self.traps = traps
3980 traps = [sig for sig, v in self.traps.items() if v]
3983 self.capitals, self.clamp, flags, traps))
3994 names = [t.__name__ for t, v in self.traps.items() if v]
4005 for flag in self.traps:
4006 self.traps[flag] = 0
4011 self.capitals, self.clamp, self.flags, self.traps,
4019 self.flags.copy(), self.traps.copy(),
4038 if not self.traps[error]:
6076 traps=[DivisionByZero, Overflow, InvalidOperation],
6091 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],
6097 traps=[],