numpy/numpy — pull request #4648 by jaimefrio (2014-04-28 20:47:31+00:00)
Title: BUG: Hold GIL for types with fields, fix #4642

Set the `NPY_NEEDS_PYAPI` flag for types with fields, as these need
access to the Python API to manipulate the tuples and dicts holding
field information. It remains unset for the base `np.void` type.