[llvm-bugs] [Bug 46051] New: Please backport 88aad9b9f05 (lit googletest.py: Don't raise StopIteration in generator) to 10.x
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat May 23 06:51:23 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46051
Bug ID: 46051
Summary: Please backport 88aad9b9f05 (lit googletest.py: Don't
raise StopIteration in generator) to 10.x
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: mgorny at gentoo.org
CC: hans at chromium.org, htmldeveloper at gmail.com,
llvm-bugs at lists.llvm.org
Blocks: 45309
This is needed to fix crashing tests with newer versions of Python. It seems
to apply cleanly for me.
commit 88aad9b9f05702585eb823d0188996f4cf62070a
Author: Hans Wennborg <hans at chromium.org>
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
(https://www.python.org/dev/peps/pep-0479/).
Differential revision: https://reviews.llvm.org/D79169
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=45309
[Bug 45309] [meta] 10.0.1 Release Blockers
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200523/80ad4eb1/attachment.html>
More information about the llvm-bugs
mailing list