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

Delta Between Two Patch Sets: Python/compile.c

Issue 11619: On Windows, don't encode filenames in the import machinery
Left Patch Set: Created 6 years, 3 months ago
Right Patch Set: Created 6 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Python/ast.c ('k') | Python/errors.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file compiles an abstract syntax tree (AST) into Python bytecode. 2 * This file compiles an abstract syntax tree (AST) into Python bytecode.
3 * 3 *
4 * The primary entry point is PyAST_Compile(), which returns a 4 * The primary entry point is PyAST_Compile(), which returns a
5 * PyCodeObject. The compiler makes several passes to build the code 5 * PyCodeObject. The compiler makes several passes to build the code
6 * object: 6 * object:
7 * 1. Checks for future statements. See future.c 7 * 1. Checks for future statements. See future.c
8 * 2. Builds a symbol table. See symtable.c. 8 * 2. Builds a symbol table. See symtable.c.
9 * 3. Generate code for basic blocks. See compiler_mod() in this file. 9 * 3. Generate code for basic blocks. See compiler_mod() in this file.
10 * 4. Assemble the basic blocks into final code. See assemble() in 10 * 4. Assemble the basic blocks into final code. See assemble() in
(...skipping 4304 matching lines...) Expand 10 before | Expand all | Expand 10 after
4315 4315
4316 #undef PyAST_Compile 4316 #undef PyAST_Compile
4317 PyAPI_FUNC(PyCodeObject *) 4317 PyAPI_FUNC(PyCodeObject *)
4318 PyAST_Compile(mod_ty mod, const char *filename, PyCompilerFlags *flags, 4318 PyAST_Compile(mod_ty mod, const char *filename, PyCompilerFlags *flags,
4319 PyArena *arena) 4319 PyArena *arena)
4320 { 4320 {
4321 return PyAST_CompileEx(mod, filename, flags, -1, arena); 4321 return PyAST_CompileEx(mod, filename, flags, -1, arena);
4322 } 4322 }
4323 4323
4324 4324
LEFTRIGHT

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