[Numpy-discussion] Proposed record array behavior: the rest of the story: updated

Russell E Owen rowen at u.washington.edu
Mon Jul 26 11:30:01 EDT 2004


At 8:11 PM +0200 2004-07-26, Francesc Alted wrote:
>...
>Supporting Rarr.field['home address'] and Rarr.field('home address') at the
>same time sounds unnecessary to me. Moreover having a
>Rarr.field('home_address')[32] (for example) looks a bit strange, and I
>think Rarr.field['home_address'][32] would be better. But I repeat, this is
>my personal feeling.
>
>I know that dropping support of __call__() in field will make the change
>backward incompatible, but perhaps now is a good time to define a better
>interface to the RecArray object. Another possibility maybe to raise a
>deprecation warning for such an use for a couple of releases.

I completely agree.

-- Russell




More information about the NumPy-Discussion mailing list