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
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.
54. By Clóvis Fabrício Costa <nosklo@esmeralda>

Merging trunk changes

55. By Clóvis Fabrício Costa <nosklo@esmeralda>

Added constants to configure code execution output line cap

56. By Clóvis Fabrício Costa <nosklo@esmeralda>

importing lxml

57. By Clóvis Fabrício Costa <nosklo@esmeralda>

lxml.html import :)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches