Ñò
ô³Kc @ s d d k l Z d d k Z d d k Z d d k Z d d k Z e i Z d e f d YZ d e i
f d YZ d S( i˙˙˙˙( t StringIONt EvalContextc B s e Z d Z d Z d Z RS( s%
Class that represents a interactive interface. It has its own
namespace. Use eval_context.exec_expr(expr) to run commands; the
output of those commands is returned, as are print statements.
This is essentially what doctest does, and is taken directly from
doctest.
c C s | | _ | | _ d S( N( t namespacet globs( t selfR R ( ( sC /usr/lib/python2.6/site-packages/paste/evalexception/evalcontext.pyt __init__ s c B sÛ e } e i e i } z e | } | i | i e _ | e _ y6 e | d d d d } | | i
| i U| i Wn6 e
j
o
n" e i d | | i n XWd | e _ e i X| i S( Ns