Home
last modified time | relevance | path

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

/external/python/cpython3/Python/clinic/
Dbltinmodule.c.h175 const char *mode, int flags, int dont_inherit,
190 int dont_inherit = 0; in builtin_compile() local
238 dont_inherit = _PyLong_AsInt(args[4]); in builtin_compile()
239 if (dont_inherit == -1 && PyErr_Occurred()) { in builtin_compile()
274 …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.py847 dont_inherit=True, optimize=_optimize)
1216 return compile('', '<string>', 'exec', dont_inherit=True)
/external/python/cpython3/Lib/
Dzipimport.py647 return compile(source, pathname, 'exec', dont_inherit=True)
/external/python/cpython3/Lib/test/
Dtest_call.py472 x = IntWithDict(dont_inherit=IntWithDict())
Dtest_builtin.py329 compile(dont_inherit=0, filename='tmp', source='0', mode='eval')
330 compile('pass', '?', dont_inherit=1, mode='exec')
/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/cpython3/Python/
Dbltinmodule.c723 const char *mode, int flags, int dont_inherit, in builtin_compile_impl() argument
755 if (!dont_inherit) { in builtin_compile_impl()
/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/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/test_importlib/
Dtest_abc.py719 dont_inherit=True)
/external/python/cpython3/Doc/library/
Dfunctions.rst230 .. function:: compile(source, filename, mode, flags=0, dont_inherit=False, optimize=-1)
247 The optional arguments *flags* and *dont_inherit* control which :ref:`future
251 *flags* argument is given and *dont_inherit* is not (or is zero) then the
253 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)``.