<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 - Please backport 88aad9b9f05 (lit googletest.py: Don't raise StopIteration in generator) to 10.x"
   href="https://bugs.llvm.org/show_bug.cgi?id=46051">46051</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Please backport 88aad9b9f05 (lit googletest.py: Don't raise StopIteration in generator) to 10.x
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>enhancement
          </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>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>hans@chromium.org, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>45309
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is needed to fix crashing tests with newer versions of Python.  It seems
to apply cleanly for me.


commit 88aad9b9f05702585eb823d0188996f4cf62070a
Author: Hans Wennborg <<a href="mailto:hans@chromium.org">hans@chromium.org</a>>
Date:   2020-04-30 15:03:22 +0200

    lit googletest.py: Don't raise StopIteration in generator

    The intention here seems to be to end the generator function, but with
    modern Python, raising StopIteration causes a runtime error
    (<a href="https://www.python.org/dev/peps/pep-0479/">https://www.python.org/dev/peps/pep-0479/</a>).

    Differential revision: <a href="https://reviews.llvm.org/D79169">https://reviews.llvm.org/D79169</a></pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 10.0.1 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=45309">Bug 45309</a>] [meta] 10.0.1 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>