[IPython-user] Couple questions on Fernando's trunk-dev

Fernando Perez fperez.net@gmail....
Mon Jan 18 01:03:44 CST 2010


Hey,

On Sun, Jan 17, 2010 at 10:55 PM, Gökhan Sever <gokhansever@gmail.com> wrote:
> 1-) My favourite the tab-completion:
>
> get_ip<tab>
>
> bum the cursor jumps one next to where it is supposed to be.

https://bugs.launchpad.net/ipython/+bug/470824

Unfortunately it's not our bug but a python problem, nothing we can do about it.

> 2-) In .../ipython-dev/IPython/core/magic.py looking at the magic_whos code:
>
> You still mention of Numeric. Shouldn't these instances be cleared both in
> code and documentation providing that you drop support for Python 2.4 and
> below?
>
> 3-) Lines 966-967
>
>         # for these types, show len() instead of data:
>         seq_types = [types.DictType,types.ListType,types.TupleType]
>
> with a sample code:
>
> In [18]: ll = range(10)
>
> In [19]: whos
> Variable   Type                Data/Info
> ----------------------------------------
> a          InteractiveShell    <InteractiveShell('ipython.component0')>
> b          NoneType            None
> ll         list                [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>
> From this, either the comment or the output of the whos needs to be updated.

Could you please file bugs for these two so we don't lose track?

Thanks!

f


More information about the IPython-user mailing list