Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created April 18, 2018 03:28
Show Gist options
  • Save kjunichi/494dc56d8f1f472b3f2c0de5366d4596 to your computer and use it in GitHub Desktop.
Save kjunichi/494dc56d8f1f472b3f2c0de5366d4596 to your computer and use it in GitHub Desktop.
2018/4/18

文字列を安全にevalするには

Pythonだとastモジュール使ってやるっぽい

Rubyは昔は$SAFE=4が使えたようだけど、廃止になっている

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment