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

Ville M. Vainio vivainio at gmail.com
Wed Apr 25 13:44:49 EDT 2007


On 4/25/07, Olivier Lauzanne <olauzanne at gmail.com> wrote:

> Another possibility that I don't really like it to save the root modules, so
> it would only be slow once.

It's not really that bad. You can save your stuff e.g in

_ip.db['rootmodules']

If you don't know how to use the persistent ipython database _ip.db,
see "%bookmark??"

What to do with new modules that are added after saving the root
modules? I suggest we put

del _ip.db['rootmodules']

in %rehashx, which is kinda logical place that won't introduce any new
magic commands.


[ipython]|80> del _ip.db['rootmodules']



-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list