[IPython-dev] Magics that have return values, $$var=cmd simplification

Fernando Perez Fernando.Perez at colorado.edu
Tue Jan 24 13:10:20 CST 2006

Ville Vainio wrote:
> On 1/24/06, Ville Vainio <vivainio at gmail.com> wrote:
>>The regexp to catch these reliably is trivial (provided that var name
>>is (\w+) and both are illegal python. Anyone have any
>>doubt/objections? $$var = cmd syntax is there but it's not as easy to
>>remember or obvious.
> An extra idea - we could add a "pluggable prefilter" system a'la:

Yes, prefilters are obviously one of the prime candidates for extension 
points.  Pysh is an example, and SAGE (http://modular.ucsd.edu/sage/) takes 
this idea quite far, but it would be nice to make this kind of usage as simple 
as possible for new extension writers.



More information about the IPython-dev mailing list