Lines Matching refs:local
16 def target(local, weaklist): argument
18 local.weak = weak
29 local = self._local()
32 t = threading.Thread(target=target, args=(local, weaklist))
45 local.someothervar = None
59 local = Local()
62 local.x = i
64 self.assertEqual(local.x, i)
93 passed[0] = all(not hasattr(local, 'foo') for local in locals)
110 from thread import _local as local unknown
111 from _threading_local import local as py_local
113 for cls in (local, py_local):
194 x.local = self._local()
195 x.local.x = x
202 _local = _threading_local.local
217 local_orig = _threading_local.local
219 _threading_local.local = _local
221 _threading_local.local = local_orig