This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Okay, so the python community consensus is that eval is inherently unsafe (with untrusted input), and it is impossible to | |
construct a safe wrapper on eval that can't be hacked. | |
Just because it's impossible, doesn't mean it can't be done. | |
Please hack this, and comment. If you can hack this, I promise to keep my mouth shut during security related | |
conversations for not less than six months. | |
Possible solution when: |