[issue38985] `compile` returns the first line of file on termination
Christian Heimes
report at bugs.python.org
Fri Dec 6 05:26:13 EST 2019
Christian Heimes <lists at cheimes.de> added the comment:
Yes, that is expected behavior.
Python is not designed for sandboxing and doesn't support sandboxing. *If* Python would support sandboxing, then compile() would be one of the first functions to go, because it allows an attacker to construct custom executable code.
----------
nosy: +christian.heimes
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38985>
_______________________________________
More information about the Python-bugs-list
mailing list