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

Olivier Lauzanne olauzanne@gmail....
Wed Apr 25 16:27:40 CDT 2007


2007/4/25, Ville M. Vainio <vivainio@gmail.com>:
>
> On 4/26/07, Olivier Lauzanne <olauzanne@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://lists.ipython.scipy.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: 10619 bytes
Desc: not available
Url : http://lists.ipython.scipy.org/pipermail/ipython-dev/attachments/20070425/8c30f8b7/attachment.py 


More information about the IPython-dev mailing list