Download lib/python3.12/site-packages/executing/_exceptions.py from parallel-reasoner/env-full: direct link, hf CLI and curl.
- Browser
- Download file 568 Bytes
-
https://huggingface.co/parallel-reasoner/env-full/resolve/a2585bd5ca1cf640fa361bd20177ded829caaa8d/lib/python3.12/site-packages/executing/_exceptions.py
- Command line
-
hf download hf://parallel-reasoner/env-full@a2585bd5ca1cf640fa361bd20177ded829caaa8d/lib/python3.12/site-packages/executing/_exceptions.py
-
curl -L -o _exceptions.py https://huggingface.co/parallel-reasoner/env-full/resolve/a2585bd5ca1cf640fa361bd20177ded829caaa8d/lib/python3.12/site-packages/executing/_exceptions.py
568 Bytes
| 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] | |