Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dpythonrun.h5 PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
10 PyCompilerFlags *flags);
15 PyCompilerFlags *flags);
20 PyCompilerFlags *flags);
25 PyCompilerFlags *flags);
29 PyCompilerFlags *flags);
33 PyCompilerFlags *flags);
37 PyCompilerFlags *flags);
41 PyCompilerFlags *flags);
45 PyObject *, PyCompilerFlags *);
[all …]
Dcompile.h29 } PyCompilerFlags; typedef
32 (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
Dceval.h16 PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
/third_party/python/Python/
Dpythonrun.c48 PyCompilerFlags *, PyArena *);
50 PyCompilerFlags *);
51 static int PyRun_InteractiveOneObjectEx(FILE *, PyObject *, PyCompilerFlags *);
54 PyCompilerFlags *flags);
59 PyCompilerFlags *flags) in _PyRun_AnyFileObject()
92 PyCompilerFlags *flags) in PyRun_AnyFileExFlags()
112 _PyRun_InteractiveLoopObject(FILE *fp, PyObject *filename, PyCompilerFlags *flags) in _PyRun_InteractiveLoopObject()
114 PyCompilerFlags local_flags = _PyCompilerFlags_INIT; in _PyRun_InteractiveLoopObject()
168 PyRun_InteractiveLoopFlags(FILE *fp, const char *filename, PyCompilerFlags *flags) in PyRun_InteractiveLoopFlags()
187 PyCompilerFlags *flags) in PyRun_InteractiveOneObjectEx()
[all …]
Dbltinmodule.c751 PyCompilerFlags cf = _PyCompilerFlags_INIT; in builtin_compile_impl()
960 PyCompilerFlags cf = _PyCompilerFlags_INIT; in builtin_eval_impl()
1094 PyCompilerFlags cf = _PyCompilerFlags_INIT; in builtin_exec_impl()
Dtraceback.c682 PyCompilerFlags flags = _PyCompilerFlags_INIT; in extract_anchors_from_line()
Dsymtable.c2135 int start, PyCompilerFlags *flags) in _Py_SymtableStringObjectFlags()
Dcompile.c355 PyCompilerFlags *c_flags;
541 _PyAST_Compile(mod_ty mod, PyObject *filename, PyCompilerFlags *flags, in _PyAST_Compile()
546 PyCompilerFlags local_flags = _PyCompilerFlags_INIT; in _PyAST_Compile()
Dceval.c7208 PyEval_MergeCompilerFlags(PyCompilerFlags *cf)
/third_party/python/Doc/c-api/
Dveryhigh.rst58 .. c:function:: int PyRun_AnyFileFlags(FILE *fp, const char *filename, PyCompilerFlags *flags)
70 …ion:: int PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags)
85 leaving the :c:struct:`PyCompilerFlags`\* argument set to ``NULL``.
88 .. c:function:: int PyRun_SimpleStringFlags(const char *command, PyCompilerFlags *flags)
113 …:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFlags *flags)
132 .. c:function:: int PyRun_InteractiveOneFlags(FILE *fp, const char *filename, PyCompilerFlags *flag…
152 .. c:function:: int PyRun_InteractiveLoopFlags(FILE *fp, const char *filename, PyCompilerFlags *fla…
196 …tringFlags(const char *str, int start, PyObject *globals, PyObject *locals, PyCompilerFlags *flags)
220 … *fp, const char *filename, int start, PyObject *globals, PyObject *locals, PyCompilerFlags *flags)
226 …har *filename, int start, PyObject *globals, PyObject *locals, int closeit, PyCompilerFlags *flags)
[all …]
/third_party/python/Include/internal/
Dpycore_parser.h15 PyCompilerFlags *flags,
24 PyCompilerFlags *flags,
Dpycore_compile.h18 PyCompilerFlags *flags,
Dpycore_symtable.h129 PyCompilerFlags *flags);
/third_party/python/Parser/
Dpeg_api.c8 PyCompilerFlags *flags, PyArena *arena) in _PyParser_ASTFromString()
21 PyCompilerFlags *flags, int *errcode, PyArena *arena) in _PyParser_ASTFromFile()
Dpegen.h335 … const char *, const char *, PyCompilerFlags *, int *, PyArena *);
337 mod_ty _PyPegen_run_parser_from_string(const char *, int, PyObject *, PyCompilerFlags *, PyArena *);
Dpegen.c720 compute_parser_flags(PyCompilerFlags *flags) in compute_parser_flags()
882 PyCompilerFlags *flags, int *errcode, PyArena *arena) in _PyPegen_run_parser_from_file_pointer()
920 PyCompilerFlags *flags, PyArena *arena) in _PyPegen_run_parser_from_string()
/third_party/python/Modules/
Dmain.c253 PyCompilerFlags cf = _PyCompilerFlags_INIT; in pymain_run_command()
359 PyCompilerFlags cf = _PyCompilerFlags_INIT; in pymain_run_file_obj()
429 PyCompilerFlags cf = _PyCompilerFlags_INIT; in pymain_run_startup()
508 PyCompilerFlags cf = _PyCompilerFlags_INIT; in pymain_run_stdin()
534 PyCompilerFlags cf = _PyCompilerFlags_INIT; in pymain_repl()
Dsymtablemodule.c30 PyCompilerFlags cf = _PyCompilerFlags_INIT; in _symtable_symtable_impl()
D_testcapimodule.c3795 PyCompilerFlags cflags = {0}; in run_in_subinterp()
/third_party/python/Tools/peg_generator/peg_extension/
Dpeg_extension.c53 PyCompilerFlags flags = _PyCompilerFlags_INIT; in parse_file()
95 PyCompilerFlags flags = _PyCompilerFlags_INIT; in parse_string()
/third_party/python/Doc/data/
Drefcounts.dat829 PyEval_MergeCompilerFlags:PyCompilerFlags*:cf::
1819 PyRun_AnyFileFlags:PyCompilerFlags*:flags::
1830 PyRun_AnyFileExFlags:PyCompilerFlags*:flags::
1853 PyRun_FileFlags:PyCompilerFlags*:flags::
1862 PyRun_FileExFlags:PyCompilerFlags*:flags::
1871 PyRun_InteractiveLoopFlags:PyCompilerFlags*:flags::
1880 PyRun_InteractiveOneFlags:PyCompilerFlags*:flags::
1895 PyRun_SimpleFileExFlags:PyCompilerFlags*:flags::
1902 PyRun_SimpleStringFlags:PyCompilerFlags*:flags::
1915 PyRun_StringFlags:PyCompilerFlags*:flags::
[all …]
/third_party/python/Doc/whatsnew/
D3.8.rst2015 * The :c:struct:`PyCompilerFlags` structure got a new *cf_feature_version*
/third_party/python/Misc/
DHISTORY25117 in Flags and take an extra argument, a PyCompilerFlags *; examples: