On Thu, Jul 15, 2010 at 2:15 PM, Stefan Behnel <[email protected]> wrote: > > Now that I say that, what about IPython support for Cython compilation? > ICython, anyone?
Absolutely, totally possible and welcome. I should add that this summer we're in the middle of a major refactoring of ipython, and we should also get lightweight 'mini-notebook' environments for IPython out of this work (early, pre-pre-alpha prototype work at http://github.com/muzgash/ipython/tree/ipythonqt and http://github.com/epatters/ipython/tree/qtfrontend with a more terminal-like feel but in Qt). Once that lands, I'd like to change IPython's magics to work more like Sage: sage took the %syntax but defined it to call the .eval() method of %whatever; I think we can easily adopt that approach as well, so that at least api-wise ipython and sage would be compatible. This would make it easier to have a magic that works in both (possibly isolating sage/ipython-specific parts). In the meantime, a plain python magic that waits for input until some marker or EOF arrives and passes it to the cython machinery would be very easy to write, and would work *today* in ipython. Cheers, f _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
