<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - check_cfc - python changes for check_cfc.py and obj_diff.py"
href="https://bugs.llvm.org/show_bug.cgi?id=49617">49617</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>check_cfc - python changes for check_cfc.py and obj_diff.py
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nnelson@infowest.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I changed the following lines in my copies here because the two original lines
failed with my recent python version. Python 3.8.6
llvm-project/clang/utils/check_cfc$ diff check_cfc.py.original check_cfc.py
325c325,326
< config.readfp(io.BytesIO(default_config))
---
<span class="quote">> # config.readfp(io.BytesIO(default_config))
> config.read_string(default_config)</span >
llvm-project/clang/utils/check_cfc$ diff obj_diff.py.original obj_diff.py
28c28,30
< return [line for line in out.split(os.linesep) if keep_line(line)]
---
<span class="quote">>
> # return [line for line in out.split(os.linesep) if keep_line(line)]
> return [line for line in out.decode().split(os.linesep) if keep_line(line)]</span >
Also picking up the following warning but did not quickly see a fix.
DeprecationWarning: the imp module is deprecated in favour of importlib; see
the module's documentation for alternative uses
import imp</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>