[issue14385] Support other types than dict for __builtins__

STINNER Victor report at bugs.python.org
Thu Mar 22 13:38:16 CET 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

> Note: this protection is not enough to secure Python,
> but it is an important part of a Python sandbox.

Oh, and by the way, I workaround the lack of read-only mapping in pysandbox by removing dict methods: dict.__init__(), dict.clear(), dict.update(), etc. This is a problem because these methods are useful in Python.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14385>
_______________________________________


More information about the Python-bugs-list mailing list