Merge lp://staging/~nosklo/infobat/exec_eval into lp://staging/infobat
Proposed by
Clóvis Fabrício
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp://staging/~nosklo/infobat/exec_eval |
Merge into: | lp://staging/infobat |
Diff against target: |
91 lines (+50/-9) 1 file modified
infobat/irc.py (+50/-9) |
To merge this branch: | bzr merge lp://staging/~nosklo/infobat/exec_eval |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Gallagher | Pending | ||
Review via email: mp+23904@code.staging.launchpad.net |
Commit message
new exec and print commands to execute python code
Description of the change
This branch adds new commands to infobob that allows it to execute arbritary python code:
<nosklo> infobob: exec import sys ; print sys.version_info
<infobob> (2, 5, 1, 'final', 0)
<nosklo> infobob: print math.sqrt(15)
<infobob> 3.87298334621
ATTENTION:
Please note that no action has been taken to prevent this from working on #python, so that must be correctly decided. Just tell me and I will do any changes necessary.
To post a comment you must log in.