Zope Untrusted Python Library
Project description
Sandboxed environment for untrusted code / templates, using zope.security and RestrictedPython
CHANGES
5.0 (2022-11-29)
Backwards incompatible changes
Require RestrictedPython >= 4.
Drop support for writing output of print calls to a variable named untrusted_output. It is now done the same way RestrictedPython handles printing, i. e. access it trough the variable printed. .interpreter.CompiledProgram still supports output to a file like object by implementing accessing the printed data.
The following names are no longer available via __builtins__ as they are either potentially harmful, not accessible at all or meaningless:
__debug__
__name__
__doc__
copyright
credits
license
quit
Drop support to run the tests using python setup.py test.
Drop support for Python 2.6.
Features
Add support for Python 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11.
4.0.0 (2013-02-12)
Test coverage at 100%.
Package extracted from zope.security, preserving revision history
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zope.untrustedpython-5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e17931b0f20f2c888d1476186467c8fee14789e5cfd7d892084cf963f527df99 |
|
MD5 | 26658e46569405d2ef2e530278375e8d |
|
BLAKE2b-256 | ba378b434c34bd6daacd55403a67340bf5506f6387cd888a08dcd68f387fb3e5 |