Searched refs:globals_dict (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | 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)
|
/external/scapy/scapy/ |
D | main.py | 109 def _load(module, globals_dict=None, symb_list=None): argument 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): argument 150 globals_dict=globals_dict, symb_list=symb_list)
|
/external/autotest/client/bin/ |
D | 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/scapy/scapy/layers/ |
D | all.py | 24 load_layer(_l, globals_dict=globals(), symb_list=__all__)
|
/external/python/cpython2/Lib/test/ |
D | test_warnings.py | 569 globals_dict = globals() 570 oldfile = globals_dict['__file__'] 574 globals_dict['__file__'] = None 580 globals_dict['__file__'] = oldfile
|
/external/python/cpython3/Lib/test/test_warnings/ |
D | __init__.py | 741 globals_dict = globals() 742 oldfile = globals_dict['__file__'] 748 globals_dict['__file__'] = None 752 globals_dict['__file__'] = oldfile
|