Home
last modified time | relevance | path

Searched refs:dont_inherit (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Python/clinic/
Dbltinmodule.c.h157 const char *mode, int flags, int dont_inherit,
170 int dont_inherit = 0; in builtin_compile() local
174 &source, PyUnicode_FSDecoder, &filename, &mode, &flags, &dont_inherit, &optimize)) { in builtin_compile()
177 …return_value = builtin_compile_impl(module, source, filename, mode, flags, dont_inherit, optimize); in builtin_compile()
/external/python/cpython3/Lib/importlib/
Dabc.py244 return compile(data, path, 'exec', dont_inherit=True)
D_bootstrap_external.py791 dont_inherit=True, optimize=_optimize)
1154 return compile('', '<string>', 'exec', dont_inherit=True)
/external/python/cpython2/Python/
Dbltinmodule.c474 int dont_inherit = 0; in builtin_compile() local
486 &supplied_flags, &dont_inherit)) in builtin_compile()
500 if (!dont_inherit) { in builtin_compile()
/external/python/cpython2/Doc/library/
Dcompiler.rst67 .. function:: compile(source, filename, mode, flags=None, dont_inherit=None)
78 The *flags* and *dont_inherit* arguments affect future-related statements, but
Dfunctions.rst205 .. function:: compile(source, filename, mode[, flags[, dont_inherit]])
224 The optional arguments *flags* and *dont_inherit* control which future
228 *flags* argument is given and *dont_inherit* is not (or is zero) then the
230 those that would be used anyway. If *dont_inherit* is a non-zero integer then
253 The *flags* and *dont_inherit* arguments were added.
/external/python/cpython2/Lib/compiler/
Dpycodegen.py51 def compile(source, filename, mode, flags=None, dont_inherit=None): argument
53 if flags is not None or dont_inherit is not None:
/external/python/cpython3/Python/
Dbltinmodule.c798 const char *mode, int flags, int dont_inherit, in builtin_compile_impl() argument
827 if (!dont_inherit) { in builtin_compile_impl()
/external/python/cpython2/Lib/test/
Dtest_builtin.py247 compile(dont_inherit=0, filename='tmp', source='0', mode='eval')
248 compile('pass', '?', dont_inherit=1, mode='exec')
/external/python/cpython3/Lib/test/
Dtest_builtin.py317 compile(dont_inherit=0, filename='tmp', source='0', mode='eval')
318 compile('pass', '?', dont_inherit=1, mode='exec')
/external/python/cpython3/Lib/test/test_importlib/
Dtest_abc.py719 dont_inherit=True)
/external/python/cpython3/Doc/library/
Dfunctions.rst228 .. function:: compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1)
245 The optional arguments *flags* and *dont_inherit* control which :ref:`future
249 *flags* argument is given and *dont_inherit* is not (or is zero) then the
251 those that would be used anyway. If *dont_inherit* is a non-zero integer then
/external/python/cpython2/Lib/idlelib/
DPyShell.py654 code = compile(source, filename, "exec", dont_inherit=True)
/external/python/cpython3/Doc/whatsnew/
D3.4.rst986 is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``.