HomeSort by relevance Sort by last modified time
    Searched refs:globals_dict (Results 1 - 6 of 6) sorted by null

  /external/python/cpython3/Lib/test/
test_dynamic.py 85 globals_dict = {"foo": foo, "__builtins__": builtins_dict,
87 self.assertEqual(eval("foo()", globals_dict), 3)
96 globals_dict = {"foo": foo}
97 exec("x = foo()", globals_dict)
98 self.assertEqual(globals_dict["x"], 3)
102 globals_dict = {"foo": foo, "__builtins__": builtins_dict,
105 exec("x = foo()", globals_dict)
106 self.assertEqual(globals_dict["x"], 3)
130 globals_dict = {"len": lambda x: 7}
131 foo = eval("lambda: len([])", globals_dict)
    [all...]
  /external/scapy/scapy/layers/
all.py 24 load_layer(_l, globals_dict=globals(), symb_list=__all__)
  /external/scapy/scapy/
main.py 109 def _load(module, globals_dict=None, symb_list=None):
117 if globals_dict is None:
118 globals_dict = six.moves.builtins.__dict__
126 globals_dict[name] = mod.__dict__[name]
133 globals_dict[name] = sym
144 def load_layer(name, globals_dict=None, symb_list=None):
150 globals_dict=globals_dict, symb_list=symb_list)
  /external/autotest/client/bin/
setup_job.py 53 globals_dict = globals().copy()
75 exec import_stmt + '\n' + init_stmt in locals_dict, globals_dict
76 client_test = globals_dict['auto_test']
  /external/python/cpython2/Lib/test/
test_warnings.py 569 globals_dict = globals()
570 oldfile = globals_dict['__file__']
574 globals_dict['__file__'] = None
580 globals_dict['__file__'] = oldfile
    [all...]
  /external/python/cpython3/Lib/test/test_warnings/
__init__.py     [all...]

Completed in 646 milliseconds