aboutsummaryrefslogtreecommitdiff
path: root/modules/eval_python.py
Commit message (Collapse)AuthorAgeFilesLines
* Give `page` an initial value of None, in case the get_url call fails inGravatar jesopo2018-10-241-0/+1
| | | | modules/eval_python.py
* Move taking a reference to sys.stdout above fail() in modules/eval_python.pyGravatar jesopo2018-10-241-1/+1
|
* There's no `self` in eval_python's template!Gravatar jesopo2018-10-241-2/+2
|
* Specifically catch SyntaxError in modules/eval_python.pyGravatar jesopo2018-10-241-2/+1
|
* Catch syntax errors with .py/.py2Gravatar jesopo2018-10-241-3/+10
|
* Put .strip("\n") call in the right place in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Refer to `out["out"]`, not just `out`, to get the output from evalGravatar jesopo2018-10-171-1/+1
|
* Import json in modules/eval_python.pyGravatar jesopo2018-10-171-1/+1
|
* import json in EVAL_TEMPLATE and json parse response from eval apiGravatar jesopo2018-10-171-2/+5
|
* 'import StringIO' -> 'import io' in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Escape \n in EVAL_TEMPLATE in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Add missing ":"s in EVAL_TEMPLATE in modules/eval_python.pyGravatar jesopo2018-10-171-2/+2
|
* Better handling of eval errors in modules/eval_python.pyGravatar jesopo2018-10-171-4/+16
|
* Remove additional ")"s in modules/eval_python.pyGravatar jesopo2018-10-171-1/+1
|
* html.unescape output in modules/eval_python.pyGravatar jesopo2018-10-171-3/+4
|
* ' -> " in modules/eval_python.pyGravatar jesopo2018-10-121-1/+1
|
* Use compile+eval to support statements and expressionsGravatar jesopo2018-10-121-1/+2
|
* Add a \n between potential prints in eval() and printing the return from eval soGravatar jesopo2018-10-121-1/+2
| | | | that bitbot will only show one of them
* Support py2 and py3 in eval_pythonGravatar jesopo2018-10-121-25/+32
|
* Use a more reliable API for evaling pythonGravatar jesopo2018-10-121-13/+23
|
* Add !py as an alias of !python in modules/eval_python.pyGravatar jesopo2018-10-111-0/+1
|
* !eval -> !python in modules/eval_python.pyGravatar jesopo2018-10-081-1/+1
|
* eval.py -> eval_python.py, rust_eval.py -> eval_rust.pyGravatar jesopo2018-10-081-0/+27