Re: [Cython] Move IPython's cython extension to cython

2014-04-13 Thread Martín Gaitán
On Sun, Apr 6, 2014 at 1:26 PM, Martín Gaitán wrote: > So, should I start the pull request and continue the discussion in the > context of the code? Hi: ping. should I? -- mgaitan.github.io textosyprextextos.com.ar ___ cython-devel mailin

Re: [Cython] Move IPython's cython extension to cython

2014-04-06 Thread Martín Gaitán
On Sun, Apr 6, 2014 at 4:18 AM, Stefan Behnel wrote: > Would it be ok to expose the "load_ipython_extension()" function directly > on the Cython package? Then you'd just say "%load_ext Cython". I suggest > to drop the implementation into Cython/Build/IPythonMagic.py and import it > from there in

Re: [Cython] Move IPython's cython extension to cython

2014-04-05 Thread Martín Gaitán
On Sun, Apr 6, 2014 at 12:37 AM, Robert Bradshaw wrote: > I'd say this could generally make sense. Would it be the case that iff > cython is installed then the %cython magic would be available and just > work? > Yes, but before to use it, you'll need to load the extension somewhere. Could be wit

[Cython] Move IPython's cython extension to cython

2014-04-05 Thread Martín Gaitán
As you probably know, IPython has a "cython magic" [1], an extension to interface ipython with cython, allowing to use cython code in the interactive session. Originally, few of these "language specific magics" (R, cython, octave, etc) were included builtin in IPython, but then the IPython core de