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

Side by Side Diff: Include/ast.h

Issue 11619: On Windows, don't encode filenames in the import machinery
Patch Set: Created 5 years, 12 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/c-api/exceptions.rst ('k') | Include/compile.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 #ifndef Py_AST_H 1 #ifndef Py_AST_H
2 #define Py_AST_H 2 #define Py_AST_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 PyAPI_FUNC(int) PyAST_Validate(mod_ty); 7 PyAPI_FUNC(int) PyAST_Validate(mod_ty);
8 PyAPI_FUNC(mod_ty) PyAST_FromNode( 8 PyAPI_FUNC(mod_ty) PyAST_FromNode(
9 const node *n, 9 const node *n,
10 PyCompilerFlags *flags, 10 PyCompilerFlags *flags,
11 const char *filename, /* decoded from the filesystem encoding */ 11 const char *filename, /* decoded from the filesystem encoding */
12 PyArena *arena);
13 PyAPI_FUNC(mod_ty) PyAST_FromNodeObject(
14 const node *n,
15 PyCompilerFlags *flags,
16 PyObject *filename,
12 PyArena *arena); 17 PyArena *arena);
13 18
14 #ifdef __cplusplus 19 #ifdef __cplusplus
15 } 20 }
16 #endif 21 #endif
17 #endif /* !Py_AST_H */ 22 #endif /* !Py_AST_H */
OLDNEW
« no previous file with comments | « Doc/c-api/exceptions.rst ('k') | Include/compile.h » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+