Searched refs:dont_inherit (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Python/clinic/ |
D | bltinmodule.c.h | 157 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/ |
D | abc.py | 244 return compile(data, path, 'exec', dont_inherit=True)
|
D | _bootstrap_external.py | 791 dont_inherit=True, optimize=_optimize) 1154 return compile('', '<string>', 'exec', dont_inherit=True)
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 474 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/ |
D | compiler.rst | 67 .. function:: compile(source, filename, mode, flags=None, dont_inherit=None) 78 The *flags* and *dont_inherit* arguments affect future-related statements, but
|
D | functions.rst | 205 .. 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/ |
D | pycodegen.py | 51 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/ |
D | bltinmodule.c | 798 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/ |
D | test_builtin.py | 247 compile(dont_inherit=0, filename='tmp', source='0', mode='eval') 248 compile('pass', '?', dont_inherit=1, mode='exec')
|
/external/python/cpython3/Lib/test/ |
D | test_builtin.py | 317 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/ |
D | test_abc.py | 719 dont_inherit=True)
|
/external/python/cpython3/Doc/library/ |
D | functions.rst | 228 .. 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/ |
D | PyShell.py | 654 code = compile(source, filename, "exec", dont_inherit=True)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 986 is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``.
|