numpy/numpy — pull request #304 by thouis (2012-06-10 07:15:55+00:00)
Title: fix previous patch: c_metdata should match metadata before DECREF

This is probably unnecessary, but just in case, make sure c_metadata and metadata are updated atomically before possibly entering Python code due to the DECREF.