Home
last modified time | relevance | path

Searched refs:dont_write_bytecode (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Lib/distutils/tests/
Dtest_build_py.py61 if sys.dont_write_bytecode:
91 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
108 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
164 old_dont_write_bytecode = sys.dont_write_bytecode
165 sys.dont_write_bytecode = True
169 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_install_lib.py37 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile disabled')
100 old_dont_write_bytecode = sys.dont_write_bytecode
101 sys.dont_write_bytecode = True
105 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_util.py291 old_dont_write_bytecode = sys.dont_write_bytecode
292 sys.dont_write_bytecode = True
296 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_bdist_dumb.py89 if not sys.dont_write_bytecode:
/external/python/cpython2/Lib/distutils/tests/
Dtest_util.py16 old_dont_write_bytecode = sys.dont_write_bytecode
17 sys.dont_write_bytecode = True
21 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_install_lib.py45 @unittest.skipIf(sys.dont_write_bytecode, 'byte-compile not enabled')
94 old_dont_write_bytecode = sys.dont_write_bytecode
95 sys.dont_write_bytecode = True
99 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_build_py.py63 if sys.dont_write_bytecode:
140 old_dont_write_bytecode = sys.dont_write_bytecode
141 sys.dont_write_bytecode = True
145 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_bdist_dumb.py91 if not sys.dont_write_bytecode:
/external/python/cpython3/Tools/importbench/
Dimportbench.py63 sys.dont_write_bytecode = True
76 sys.dont_write_bytecode = False
86 sys.dont_write_bytecode = True
91 sys.dont_write_bytecode = False
102 assert not sys.dont_write_bytecode
121 assert not sys.dont_write_bytecode
206 assert not sys.dont_write_bytecode
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py296 if sys.dont_write_bytecode:
300 original = sys.dont_write_bytecode
301 sys.dont_write_bytecode = False
305 sys.dont_write_bytecode = original
Dtest_abc.py865 @unittest.skipIf(sys.dont_write_bytecode, "sys.dont_write_bytecode is true")
924 sys.dont_write_bytecode = True
929 sys.dont_write_bytecode = False
/external/python/cpython2/Lib/test/
Dtest_runpy.py173 if not sys.dont_write_bytecode:
196 if not sys.dont_write_bytecode:
251 if not sys.dont_write_bytecode:
Dtest_import.py91 if not sys.dont_write_bytecode:
111 @unittest.skipIf(sys.dont_write_bytecode,
139 @unittest.skipIf(sys.dont_write_bytecode,
475 if not sys.dont_write_bytecode:
/external/python/cpython3/Lib/test/
Dtest_runpy.py316 if not sys.dont_write_bytecode:
357 if not sys.dont_write_bytecode:
416 if not sys.dont_write_bytecode:
687 if not sys.dont_write_bytecode:
Dtest_imp.py178 if not sys.dont_write_bytecode:
299 @unittest.skipIf(sys.dont_write_bytecode,
/external/grpc-grpc/src/boringssl/
Dgen_build_yaml.py21 sys.dont_write_bytecode = True
/external/python/cpython3/Lib/distutils/command/
Dinstall_lib.py119 if sys.dont_write_bytecode:
Dbuild_py.py375 if sys.dont_write_bytecode:
/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py123 if sys.dont_write_bytecode:
Dbuild_py.py376 if sys.dont_write_bytecode:
/external/avb/test/
Dimage_handler_unittest.py35 sys.dont_write_bytecode = True
/external/python/cpython3/Modules/
Dmain.c449 int dont_write_bytecode; /* Py_DontWriteBytecodeFlag, -B, PYTHONDONTWRITEBYTECODE */ member
821 cmdline->dont_write_bytecode++; in pymain_parse_cmdline_impl()
1479 cmdline->dont_write_bytecode = Py_DontWriteBytecodeFlag; in cmdline_get_global_config()
1515 Py_DontWriteBytecodeFlag = cmdline->dont_write_bytecode; in cmdline_set_global_config()
1811 get_env_flag(&cmdline->dont_write_bytecode, "PYTHONDONTWRITEBYTECODE"); in cmdline_get_env_flags()
/external/python/cpython2/Lib/distutils/
Dutil.py362 if sys.dont_write_bytecode:
/external/python/cpython3/Lib/distutils/
Dutil.py349 if sys.dont_write_bytecode:
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py862 if (not sys.dont_write_bytecode and bytecode_path is not None and

12