MCPcopy Index your code
hub / github.com/ipython/ipython / GuardRejection

Class GuardRejection

IPython/core/guarded_eval.py:427–430  ·  view source on GitHub ↗

Exception raised when guard rejects evaluation attempt.

Source from the content-addressed store, hash-verified

425
426
427class GuardRejection(Exception):
428 """Exception raised when guard rejects evaluation attempt."""
429
430 pass
431
432
433def guarded_eval(code: str, context: EvaluationContext):

Callers 3

guarded_evalFunction · 0.85
eval_nodeFunction · 0.85
_eval_node_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…