[IPython-dev] [Fwd: [afayolle at debian.org: Bug#374625: python2.3-ipython: help built-in function does not work]]

Fernando Perez fperez.net at gmail.com
Wed Aug 9 12:30:15 CDT 2006


On 8/9/06, Ville Vainio <vivainio at gmail.com> wrote:
> > pertains to code in the python library, NOT to any ipython code.  So, somehow,
> > we're getting inspect.py in trouble by our use of FakeModule (which is a hack,
> > but a necessary one for other reasons).
>
> If FakeModule is also behind problems for py2.5 beta, I think we
> should consider getting rid of it. Is it needed for something apart
> from pickling/shelving ipython-declared data?

I honestly don't remember the exact details, but it's there to protect
against some bugs which were reported a while back with users pickling
and unpickling normal data during an interactive session, not
necessarily ipython-specific variables or macros.

I'm all for getting rid of it, but we'd need to scour the changelog
carefully and try to find out exactly what the problem it 'fixes' was.
 I hope I was reasonably detailed in explaining why we needed it.

It's also quite possible that the problem can be better addressed with
a different approach, case in which we could just get rid of it
altogether.

In summary: +1 for getting rid of it, but it needs to be done very
carefully.  The bugs it fixed were not obvious nor easy to trigger
with most usage patterns, so we could easily reintroduce them
inadvertedly.

Cheers,

f


More information about the IPython-dev mailing list