numpy/numpy — pull request #3631 by charris (2013-08-18 02:04:08+00:00)
Title: Fix reference leak

Fix long standing reference leak. All of zeros, ones, full, and empty were incrementing the reference count of the items in the dimensions list.

This should be backported.