[IPython-dev] Ticket filed for %magic? breakage, PyColorize mods (format, format2) suspected.

Fernando Perez fperez.net@gmail....
Thu Apr 26 09:43:50 CDT 2007


On 4/22/07, Fernando Perez <fperez.net@gmail.com> wrote:
> On 4/22/07, Ville M. Vainio <vivainio@gmail.com> wrote:
> > On 4/22/07, Nevare Stark <nevare.stark@gmail.com> wrote:
> >
> > > I know how to reproduce it :
> > >
> > > >>> from inspect import ismodule
> > > >>> ismodule??
> > > >>> ismodule?
> > >
> > > the second line is important
> > > the third line doesn't crash without the second one
> >
> > Hmm, this doesn't reproduce it for me (python 2.51c1). Does it happen
> > to you every time with this?
>
> OK, that works for me here (meaning, I see the bug), thanks.
>
> With a reproducible case, it's now just a matter of fixing it, I'll
> try to do it later today.
>
> Many thanks for a repeatable case!

OK, I just closed

http://projects.scipy.org/ipython/ipython/ticket/146

with

http://projects.scipy.org/ipython/ipython/changeset/2274

I'm not thrilled with the state-handling logic in that format() code,
but I wanted a minimally invasive fix for now.

Thanks again for providing a solid test case!

Cheers,

f


More information about the IPython-dev mailing list