Lines Matching refs:traps
59 traps = dict.fromkeys(Signals, 0)
309 self.context.traps[exception] = 1 #Catch these bugs...
311 self.context.traps[exception] = 0
325 self.context.traps[error] = 1
335 self.context.traps[error] = 0
345 self.context.traps[error] = 1
355 self.context.traps[error] = 0
357 # as above, but add traps cumulatively, to check precedence
360 self.context.traps[error] = 1
370 # reset traps
372 self.context.traps[error] = 0
1160 ctx.traps[InvalidOperation] = 1
1745 context = Context(prec=5, traps=[Inexact])
1778 self.assertNotEqual(id(c.traps), id(d.traps))
2244 rounding=ROUND_HALF_EVEN, traps=[], flags=[])