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: unassignedb...@nondot.org
Reporter: mgo...@gentoo.org
CC: h...@chromium.org, htmldevelo...@gmail.com,
llvm-bugs@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 <h...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs