Message381903
> The specification specifically allows for the restriction of access to globals via the second argument to eval.
The Python language reference doesn't provide any warranty like that.
https://docs.python.org/dev/library/functions.html#eval
I close the issue as "not as bug".
All previous attempts to "sandbox" Python code in Python have failed. The correct way is to run Python in a sandbox. Not the opposite.
> https://lwn.net/Articles/574215/
This one was my attempt for example ;-) |
|
Date |
User |
Action |
Args |
2020-11-26 15:01:19 | vstinner | set | recipients:
+ vstinner, christian.heimes, cryptophoto |
2020-11-26 15:01:19 | vstinner | set | messageid: <1606402879.44.0.608864580642.issue42472@roundup.psfhosted.org> |
2020-11-26 15:01:19 | vstinner | link | issue42472 messages |
2020-11-26 15:01:19 | vstinner | create | |
|