[SciPy-dev] Postponed imports and docstrings

Pearu Peterson pearu at scipy.org
Wed Nov 3 06:25:05 EST 2004



On Wed, 3 Nov 2004, Arnd Baecker wrote:

<snip>
> Does this also solve the problem when pressing <TAB> in IPython?
>
> In [1]: import scipy
>
> In [2]: scipy.optimize.     # <TAB> pressed here
> scipy.optimize.__class__           scipy.optimize.__repr__
> scipy.optimize.__doc__             scipy.optimize.__setattr__
> scipy.optimize.__file__            scipy.optimize.__str__
> scipy.optimize.__getattr__         scipy.optimize._ppimport_importer
> scipy.optimize.__init__            scipy.optimize._ppimport_p_frame
> scipy.optimize.__module__          scipy.optimize.test
> scipy.optimize.__name__
>
> In [2]: scipy.optimize.    # pressing <TAB> the second time
>
> So pressing <TAB> the second time gives the full list of options.
>
> It would be nice if this worked as well.

Fixed in scipy_base/ppimport.py CVS (this one required a wrapper to 
builtin dir function).

Pearu




More information about the SciPy-Dev mailing list