This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Python Library Reference

Note: this is an unofficial posting of the official python documentation. So PLEASE DON'T modify the existing text! It will probably just be overwritten and no one will realize you've done it. PLEASE DO add any and all comments at the end of the section they apply to. That's what it's for!

RestrictedExecution

17.1 rexec -- Restricted execution framework

17.1.1 RExec Objects 17.1.2 Defining restricted environments 17.1.3 An example

17.2 Bastion -- Restricting access to objects

Comments


CategoryDocumentation


2026-02-14 16:12