[IPython-dev] Unused imports

Ville M. Vainio vivainio@gmail....
Tue Jul 15 14:57:36 CDT 2008


On Sun, Jul 13, 2008 at 3:28 AM, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:

> We all know that the IPython codebase is a web of entangled object hard
> to break down. One thing that strikes me as a low hanging fruit to
> improve the situation, though, is cleaning up the imports. Almost every
> file I have looked at has a large amount of unused imports.

Other low-hanging fruit in related vein is splitting up genutils to
smaller parts. Most of the circular dependency problems I've had were
because of genutils.

When working with input history, be careful to observe that raw
history and "native history" stay in sync. I would be in favor of
ditching the native history completely, since it would appear to be
quite unnecessary apart from debugging why certain statements do not
work (i.e. it's more interesting to developers than end users).

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


More information about the IPython-dev mailing list