You are viewing an older version (9.11.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.11.0 / IPython / core / guarded_eval / EvaluationPolicy

class

IPython.core.guarded_eval:EvaluationPolicy

source: /IPython/core/guarded_eval.py:86

Signature

class EvaluationPolicy(allow_locals_access: bool = False, allow_globals_access: bool = False, allow_item_access: bool = False, allow_attr_access: bool = False, allow_builtins_access: bool = False, allow_all_operations: bool = False, allow_any_calls: bool = False, allow_auto_import: bool = False, allowed_calls: set[Callable] = <factory>) → None

Members

Summary

Definition of evaluation policy.

Aliases

  • IPython.core.guarded_eval.EvaluationPolicy