[Numpy-discussion] add .H attribute?
dave.hirschfeld at gmail.com
Wed Jul 24 07:08:29 EDT 2013
Nathaniel Smith <njs <at> pobox.com> writes:
> As soon as you talk about attributes "returning" things you've already
> broken Python's mental model... attributes are things that sit there,
> not things that execute arbitrary code. Of course this is not how the
> actual implementation works, attribute access *can* in fact execute
> arbitrary code, but the mental model is important, so we should
> preserve it where-ever we can. Just mentioning an attribute should not
> cause unbounded memory allocations.
Yep, sorry - sloppy use of terminology which I agree is important in helping
understand what's happening.
More information about the NumPy-Discussion