Lines Matching refs:traps
60 traps = dict.fromkeys(Signals, 0)
308 self.context.traps[exception] = 1 #Catch these bugs...
310 self.context.traps[exception] = 0
324 self.context.traps[error] = 1
334 self.context.traps[error] = 0
344 self.context.traps[error] = 1
354 self.context.traps[error] = 0
359 self.context.traps[error] = 1
371 self.context.traps[error] = 0
1181 ctx.traps[InvalidOperation] = 1
1756 context = Context(prec=5, traps=[Inexact])
1790 self.assertNotEqual(id(c.traps), id(d.traps))
2256 rounding=ROUND_HALF_EVEN, traps=[], flags=[])