[IPython-dev] wildcard-patch

Ville Vainio vivainio at gmail.com
Wed Sep 21 13:33:03 EDT 2005


You need to work on the docstrings at least. It's supposed to be
%psearch, not %listdef.

Does "%psearch *.*ste*" work, so that it will find os.system?

Can I search for methods in a bunch classes, a'la

%psearch mymod.MyClass*Impl.get*

?

I'm not a big fan of "!i", I think ignoring the case should be the
default. Using ! for options is too different from the rest of
ipython. Perhaps the searchable namespaces could be "remembered" and
removed by

%psearch -addns os
%psearch -rmns sys

?

Of course additions like this could go in later on, it's not like the
feature would have to be fully "done" immediately in the next
release...

--
Ville Vainio    http://tinyurl.com/2prnb




More information about the IPython-dev mailing list