[Numpy-discussion] attribute names on record arrays

John Hunter jdh2358 at gmail.com
Wed Jun 13 13:53:38 EDT 2007


I fund myself using record arrays more and more, and feature missing
is the ability to do tab completion on attribute names in ipython,
presumably because you are using a dict under the hood and __getattr__
to resolve

o.key

where o is a record array and key is a field name.

How hard would it be to populate __dict__ with the attribute names so
we could tab complete on them?

Thanks,
JDH



More information about the NumPy-Discussion mailing list