Skip to content

Commit c404c1c

Browse files
committed
rename ast_opt.c -> ast_process.c
1 parent 2c8f329 commit c404c1c

File tree

9 files changed

+8
-9
lines changed

9 files changed

+8
-9
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Include/internal/pycore_time.h @pganssle @abalkin
181181

182182
# AST
183183
Python/ast.c @isidentical @JelleZijlstra @eclips4
184-
Python/ast_opt.c @isidentical @eclips4
184+
Python/ast_process.c @isidentical @eclips4
185185
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
186186
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
187187
Lib/ast.py @isidentical @JelleZijlstra @eclips4

InternalDocs/compiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ Important files
505505
* [Python/ast.c](../Python/ast.c):
506506
Used for validating the AST.
507507

508-
* [Python/ast_opt.c](../Python/ast_opt.c):
509-
Optimizes the AST.
508+
* [Python/ast_process.c](../Python/ast_process.c):
509+
Processes the AST before compiling.
510510

511511
* [Python/ast_unparse.c](../Python/ast_unparse.c):
512512
Converts the AST expression node back into a string (for string annotations).

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ PYTHON_OBJS= \
426426
Python/asdl.o \
427427
Python/assemble.o \
428428
Python/ast.o \
429-
Python/ast_opt.o \
429+
Python/ast_process.o \
430430
Python/ast_unparse.o \
431431
Python/bltinmodule.o \
432432
Python/brc.o \

PCbuild/_freeze_module.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
<ClCompile Include="..\Python\asdl.c" />
189189
<ClCompile Include="..\Python\assemble.c" />
190190
<ClCompile Include="..\Python\ast.c" />
191-
<ClCompile Include="..\Python\ast_opt.c" />
191+
<ClCompile Include="..\Python\ast_process.c" />
192192
<ClCompile Include="..\Python\ast_unparse.c" />
193193
<ClCompile Include="..\Python\bltinmodule.c" />
194194
<ClCompile Include="..\Python\brc.c" />

PCbuild/_freeze_module.vcxproj.filters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<ClCompile Include="..\Python\ast.c">
3535
<Filter>Source Files</Filter>
3636
</ClCompile>
37-
<ClCompile Include="..\Python\ast_opt.c">
37+
<ClCompile Include="..\Python\ast_process.c">
3838
<Filter>Source Files</Filter>
3939
</ClCompile>
4040
<ClCompile Include="..\Python\ast_unparse.c">

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@
571571
<ClCompile Include="..\Python\asdl.c" />
572572
<ClCompile Include="..\Python\assemble.c" />
573573
<ClCompile Include="..\Python\ast.c" />
574-
<ClCompile Include="..\Python\ast_opt.c" />
574+
<ClCompile Include="..\Python\ast_process.c" />
575575
<ClCompile Include="..\Python\ast_unparse.c" />
576576
<ClCompile Include="..\Python\bltinmodule.c" />
577577
<ClCompile Include="..\Python\bootstrap_hash.c" />

PCbuild/pythoncore.vcxproj.filters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@
13011301
<ClCompile Include="..\Python\ast.c">
13021302
<Filter>Python</Filter>
13031303
</ClCompile>
1304-
<ClCompile Include="..\Python\ast_opt.c">
1304+
<ClCompile Include="..\Python\ast_process.c">
13051305
<Filter>Python</Filter>
13061306
</ClCompile>
13071307
<ClCompile Include="..\Python\ast_unparse.c">
File renamed without changes.

Tools/c-analyzer/cpython/ignored.tsv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ Objects/unicodeobject.c unicode_translate_call_errorhandler argparse -
347347
Parser/parser.c - reserved_keywords -
348348
Parser/parser.c - soft_keywords -
349349
Parser/lexer/lexer.c - type_comment_prefix -
350-
Python/ast_opt.c fold_unaryop ops -
351350
Python/ceval.c - _PyEval_BinaryOps -
352351
Python/ceval.c - _Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS -
353352
Python/codecs.c - Py_hexdigits -

0 commit comments

Comments
 (0)