Lines Matching refs:local
17 def target(local, weaklist): argument
19 local.weak = weak
31 local = self._local()
34 t = threading.Thread(target=target, args=(local, weaklist))
47 local.someothervar = None
61 local = Local()
64 local.x = i
66 self.assertEqual(local.x, i)
96 passed = all(not hasattr(local, 'foo') for local in locals)
188 x.local = self._local()
189 x.local.x = x
200 _local = _threading_local.local
209 local_orig = _threading_local.local
211 _threading_local.local = _thread._local
213 _threading_local.local = local_orig