Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3118)

Side by Side Diff: Include/compile.h

Issue 10553: Add optimize argument to builtin compile() and byte-compilation modules
Patch Set: Created 2 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/py_compile.rst ('k') | Include/pythonrun.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 #ifndef Py_COMPILE_H 2 #ifndef Py_COMPILE_H
3 #define Py_COMPILE_H 3 #define Py_COMPILE_H
4 4
5 #include "code.h" 5 #include "code.h"
6 6
7 #ifdef __cplusplus 7 #ifdef __cplusplus
8 extern "C" { 8 extern "C" {
9 #endif 9 #endif
10 10
(...skipping 11 matching lines...) Expand all
22 #define FUTURE_NESTED_SCOPES "nested_scopes" 22 #define FUTURE_NESTED_SCOPES "nested_scopes"
23 #define FUTURE_GENERATORS "generators" 23 #define FUTURE_GENERATORS "generators"
24 #define FUTURE_DIVISION "division" 24 #define FUTURE_DIVISION "division"
25 #define FUTURE_ABSOLUTE_IMPORT "absolute_import" 25 #define FUTURE_ABSOLUTE_IMPORT "absolute_import"
26 #define FUTURE_WITH_STATEMENT "with_statement" 26 #define FUTURE_WITH_STATEMENT "with_statement"
27 #define FUTURE_PRINT_FUNCTION "print_function" 27 #define FUTURE_PRINT_FUNCTION "print_function"
28 #define FUTURE_UNICODE_LITERALS "unicode_literals" 28 #define FUTURE_UNICODE_LITERALS "unicode_literals"
29 #define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL" 29 #define FUTURE_BARRY_AS_BDFL "barry_as_FLUFL"
30 30
31 struct _mod; /* Declare the existence of this type */ 31 struct _mod; /* Declare the existence of this type */
32 PyAPI_FUNC(PyCodeObject *) PyAST_Compile(struct _mod *, const char *, 32 #define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar)
33 » » » » » PyCompilerFlags *, PyArena *); 33 PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx(struct _mod *, const char *,
34 » » » » » PyCompilerFlags *, int, PyArena *);
34 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *); 35 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);
35 36
36 37
37 #ifdef __cplusplus 38 #ifdef __cplusplus
38 } 39 }
39 #endif 40 #endif
40 #endif /* !Py_COMPILE_H */ 41 #endif /* !Py_COMPILE_H */
OLDNEW
« no previous file with comments | « Doc/library/py_compile.rst ('k') | Include/pythonrun.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7