[Python-Dev] Challenge: Please break this! (a.k.a restricted mode revisited) (original) (raw)

Chris Angelico rosuav at gmail.com
Tue Apr 12 04:28:34 EDT 2016


On Sat, Apr 9, 2016 at 12:18 AM, Jon Ribbens <jon+python-dev at unequivocal.co.uk> wrote:

Anyway the code is at https://github.com/jribbens/unsafe It requires Python 3.4 or later (it could probably be made to work on Python 2.7 as well, but it would need some changes).

Rather annoying point: Your interactive mode allows no editing keys (readline etc), and also doesn't have underscore for "last result", as that's a forbidden name. :( Makes tinkering fiddly.

ChrisA



More information about the Python-Dev mailing list