[IPython-dev] Nice segfault from package scanning...

Olivier Lauzanne olauzanne at gmail.com
Wed Apr 25 17:27:40 EDT 2007


2007/4/25, Ville M. Vainio <vivainio at gmail.com>:
>
> On 4/26/07, Olivier Lauzanne <olauzanne at gmail.com> wrote:
>
> > > generated every time. Then you'll have either
> > >
> > > 1) Fresh and fast module list on normal cases
> > >
> > > 2) Possibly outdated but fast module list on NFS-cases.
> >
> > that's a great idea ! I'll do it right now.
>
> Cool. Please also add a scenario where too long an import (20sec?)
> aborts and writes a marker to db['rootmodules'] which informs the
> completer never to attempt the generation of rootmodule list again.


I did it.
Here is a new version of ipy_completers.py

You will also need to add
ip.db.pop('rootmodules',[])
in the %rehashx magic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070425/8c30f8b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipy_completers.py
Type: text/x-python
Size: 10620 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20070425/8c30f8b7/attachment.py>


More information about the IPython-dev mailing list