numpy/numpy — pull request #3965 by seberg (2013-10-22 23:53:01+00:00)
Title: MAINT: Initialize strides in NpyIter and silence valgrind

The strides are arbitrary, but 0 makes sense. The empty arrays
cause valgrind to spit many errors, so use filled instead.

-

Nothing big, just sets the strides for 0-d iterations (they are never used anyway) and changes a test to not use uninitialized arrays. Makes running the numpy tests in valgrind bearable (with python suppressions, I edited the python supp to match the object malloc stuff very broadly: http://sebastian.sipsolutions.net/python.supp). There is some spam left, but I will wait for memchr fix to see if it stays...