Lines Matching refs:traps
2474 newcontext.traps[exception] = 0
3885 capitals=None, clamp=None, flags=None, traps=None, argument
3906 if traps is None:
3907 self.traps = dc.traps.copy()
3908 elif not isinstance(traps, dict):
3909 self.traps = dict((s, int(s in traps)) for s in _signals + traps)
3911 self.traps = traps
3976 traps = [sig for sig, v in self.traps.items() if v]
3979 self.capitals, self.clamp, flags, traps))
3990 names = [t.__name__ for t, v in self.traps.items() if v]
4001 for flag in self.traps:
4002 self.traps[flag] = 0
4007 self.capitals, self.clamp, self.flags, self.traps,
4015 self.flags.copy(), self.traps.copy(),
4034 if not self.traps[error]:
6074 traps=[DivisionByZero, Overflow, InvalidOperation],
6089 traps=[DivisionByZero, Overflow, InvalidOperation, Clamped, Underflow],
6095 traps=[],