Home
last modified time | relevance | path

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

/third_party/python/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.py292 old_dont_write_bytecode = sys.dont_write_bytecode
293 sys.dont_write_bytecode = True
297 sys.dont_write_bytecode = old_dont_write_bytecode
Dtest_bdist_dumb.py89 if not sys.dont_write_bytecode:
/third_party/python/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
/third_party/python/Lib/test/
D_test_embed_set_config.py165 self.assertEqual(sys.flags.dont_write_bytecode, True)
166 self.assertEqual(sys.dont_write_bytecode, True)
169 self.assertEqual(sys.flags.dont_write_bytecode, False)
170 self.assertEqual(sys.dont_write_bytecode, False)
Dtest_runpy.py318 if not sys.dont_write_bytecode:
359 if not sys.dont_write_bytecode:
418 if not sys.dont_write_bytecode:
697 if not sys.dont_write_bytecode:
Dtest_imp.py180 if not sys.dont_write_bytecode:
301 @unittest.skipIf(sys.dont_write_bytecode,
Dtest_cmd_line.py574 dont_write_bytecode = int(bool(value))
/third_party/python/Lib/test/test_importlib/
Dutil.py309 if sys.dont_write_bytecode:
313 original = sys.dont_write_bytecode
314 sys.dont_write_bytecode = False
318 sys.dont_write_bytecode = original
Dtest_abc.py891 @unittest.skipIf(sys.dont_write_bytecode, "sys.dont_write_bytecode is true")
950 sys.dont_write_bytecode = True
955 sys.dont_write_bytecode = False
/third_party/python/Lib/distutils/command/
Dinstall_lib.py119 if sys.dont_write_bytecode:
Dbuild_py.py375 if sys.dont_write_bytecode:
/third_party/python/Lib/distutils/
Dutil.py363 if sys.dont_write_bytecode:
/third_party/python/Python/
Dinitconfig.c1660 int dont_write_bytecode = 0; in config_read_env_vars() local
1661 _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE"); in config_read_env_vars()
1662 if (dont_write_bytecode) { in config_read_env_vars()
/third_party/python/Lib/importlib/
D_bootstrap_external.py1019 if (not sys.dont_write_bytecode and bytecode_path is not None and
/third_party/python/Lib/test/test_import/
D__init__.py34 sys.dont_write_bytecode,
/third_party/python/Doc/tutorial/
Dmodules.rst317 'callstats', 'copyright', 'displayhook', 'dont_write_bytecode', 'exc_info',
/third_party/python/Doc/library/
Dsys.rst308 .. data:: dont_write_bytecode
473 :const:`dont_write_bytecode` :option:`-B`
/third_party/python/Doc/c-api/
Dinit_config.rst1158 :data:`sys.dont_write_bytecode` is initialized to the inverted value of
/third_party/python/Doc/whatsnew/
D2.6.rst1766 Python programs as the ``sys.dont_write_bytecode`` variable, and
2411 Another new variable, :attr:`dont_write_bytecode`, controls whether Python
D3.2.rst492 optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0,
/third_party/python/Misc/
DHISTORY14818 sys.dont_write_bytecode is true.
15392 sys.dont_write_bytecode.