8000 Remove compiler output print diagnostic · python/cpython@7be8ee6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7be8ee6

Browse files
committed
Remove compiler output print diagnostic
1 parent 08a6f6d commit 7be8ee6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Tools/build/check_warnings.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def extract_warnings_from_compiler_output_clang(compiler_output: str) -> list[di
1313
"""
1414
Extracts warnings from the compiler output when using clang
1515
"""
16-
1716
# Regex to find warnings in the compiler output
1817
clang_warning_regex = re.compile(r'(?P<file>.*):(?P<line>\d+):(?P<column>\d+): warning: (?P<message>.*)')
1918
compiler_warnings = []
@@ -36,10 +35,6 @@ def extract_warnings_from_compiler_output_json(compiler_output: str) -> list[dic
3635
Compiler output as a whole is not a valid json document, but includes many json
3736
objects and may include other output that is not json.
3837
"""
39-
print("######")
40-
print(compiler_output)
41-
print("&&&&&")
42-
4338
# Regex to find json arrays at the top level of the file in the compiler output
4439
json_arrays = re.findall(r'\[(?:[^\[\]]|\[(?:[^\[\]]|\[[^\[\]]*\])*\])*\]', compiler_output)
4540
compiler_warnings = []

0 commit comments

Comments
 (0)
0