numpy/numpy — pull request #302 by dimasad (2012-06-09 15:22:35+00:00)
Title: Fixed bug #1953, fill_diagonal on rectangular arrays.

Changes made to fill_diagonal function of the numpy.lib.index_tricks module.

* Corrected bug #1953
* Updated doctest to test for the bug condition and show usage on rectangular arrays.
* Changed the docstring description of parameter val, because it could (since before) be an array_like and the docstring said it had to be scalar.

See the discussion on pull request 162 for more info:
https://github.com/numpy/numpy/pull/162

Bug ticket link:
http://projects.scipy.org/numpy/ticket/1953