<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 - opt-viewer fails on Python 3.8"
   href="https://bugs.llvm.org/show_bug.cgi?id=47785">47785</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>opt-viewer fails on Python 3.8
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>opt-viewer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pctammela@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>anemet@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>It seems cgi.escape was deprecated in 3.7 and removed in 3.8[1].

Error traceback:
```
Traceback (most recent call last):
  File "opt-viewer.py", line 382, in <module>
    main()
  File "opt-viewer.py", line 371, in main
    generate_report(all_remarks,
  File "opt-viewer.py", line 287, in generate_report
    IndexRenderer(output_dir, should_display_hotness,
max_hottest_remarks_on_index).render(sorted_remarks)
  File "opt-viewer.py", line 235, in render
    self.render_entry(remark, i % 2)
  File "opt-viewer.py", line 203, in render_entry
    escaped_name = cgi.escape(r.DemangledFunctionName)
```

[1] <a href="https://docs.python.org/3.8/library/cgi.html">https://docs.python.org/3.8/library/cgi.html</a></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>