numpy/numpy — pull request #3506 by josteinbf (2013-07-05 16:21:23+00:00)
Title: Allow pad_width of zero in np.pad

Input validation of `np.pad` was a bit too strict, disallowing padding an array by zero entries. This PR aims to correct that.

The same changes have been discussed in scikit-image: https://github.com/scikit-image/scikit-image/pull/634