This commit is contained in:
2024-09-28 22:51:35 -07:00
parent 7e1c6020ba
commit 5cdaf1f76b
5910 changed files with 933303 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
class KnownIssue(Exception):
"""
Raised in case of an known problem. Mostly because of cpython bugs.
Executing.node gets set to None in this case.
"""
pass
class VerifierFailure(Exception):
"""
Thrown for an unexpected mapping from instruction to ast node
Executing.node gets set to None in this case.
"""
def __init__(self, title, node, instruction):
# type: (object, object, object) -> None
self.node = node
self.instruction = instruction
super().__init__(title) # type: ignore[call-arg]