Allan Haldane
2015-06-12 17:46:39 UTC
Hi all,
I think it would be very nice to make access to invalid fields of a
A commit in my PR https://github.com/numpy/numpy/pull/5636 does this. As
discussed there, backwards compatibility is a problem but it seems like
the impact might be fairly small.
Any opinions?
Allan
I think it would be very nice to make access to invalid fields of a
a = np.ones(3, dtype=[('a', 'f4'), ('b', 'f4')])
a['c']
KeyError: 'c'a['c']
A commit in my PR https://github.com/numpy/numpy/pull/5636 does this. As
discussed there, backwards compatibility is a problem but it seems like
the impact might be fairly small.
Any opinions?
Allan