RestrictedPython 4.0 (finished)

A feature complete rewrite of RestrictedPython using ast module instead of compile package. RestrictedPython 4.0 should not add any new or remove restrictions.

A detailed documentation that support usage and further development.

Full code coverage tests.


Resolve Discussion in

compile_restricted optional params flags and dont_inherit will not work as expected with the current implementation.

stephan-hof did propose a solution, should be discussed and if approved implemented.

RestrictedPython 6.0+

  • Python 3+ only, no more support for Python 2.7

  • mypy - Static Code Analysis Annotations