<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/matrixlib/tests, branch auto</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>STY: PEP8 and pyflakes fixes for numpy/matrixlib/tests.</title>
<updated>2015-07-25T22:35:01+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-25T22:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=0aef5ece227cbbd2247cf57ba402b8a53c504216'/>
<id>0aef5ece227cbbd2247cf57ba402b8a53c504216</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Remove references to removed setasflat ndarray method.</title>
<updated>2015-07-02T05:40:55+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-01T19:18:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=1393a575c58f1ba86b1684ba9677ad134d057a93'/>
<id>1393a575c58f1ba86b1684ba9677ad134d057a93</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: np.nonzero behaving differently for 1-D arrays</title>
<updated>2015-05-14T03:38:44+00:00</updated>
<author>
<name>Jaime Fernandez</name>
<email>jaime.frio@gmail.com</email>
</author>
<published>2015-05-10T10:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=780cd6e70627f78f57cad3b1486e81936c1572a9'/>
<id>780cd6e70627f78f57cad3b1486e81936c1572a9</id>
<content type='text'>
Fixes #5837
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5837
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Make ravel function return 1-D arrays for matrix argument.</title>
<updated>2015-01-04T15:17:46+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-01-04T00:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ea927d961dfc32b6963aed3b3a10bc51c12543df'/>
<id>ea927d961dfc32b6963aed3b3a10bc51c12543df</id>
<content type='text'>
This is a backward compatibility hack to avoid breaking scipy.sparse
after fixing ravel to respect subtypes. Subtypes are still respected
except in the case of matrices and subclasses of matrices.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a backward compatibility hack to avoid breaking scipy.sparse
after fixing ravel to respect subtypes. Subtypes are still respected
except in the case of matrices and subclasses of matrices.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Make diag, diagonal return 1-D arrays for matrix arguments.</title>
<updated>2015-01-04T15:17:46+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-01-04T00:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=ad2d26442a4cf39ca378040f56ee928e673ad42a'/>
<id>ad2d26442a4cf39ca378040f56ee928e673ad42a</id>
<content type='text'>
This is an ugly hack to preserve backwards compatibility for code
that uses matrices. It is needed since both diag and diagonal have
been changed to preserve subtypes otherwise.

Note that a.diagonal() still returns matrices when a is a matrix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an ugly hack to preserve backwards compatibility for code
that uses matrices. It is needed since both diag and diagonal have
been changed to preserve subtypes otherwise.

Note that a.diagonal() still returns matrices when a is a matrix.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixes #5376: np.ravel to return same array type</title>
<updated>2015-01-02T05:22:05+00:00</updated>
<author>
<name>Garrett-R</name>
<email>garrettreynolds5@gmail.com</email>
</author>
<published>2014-12-17T06:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=78f69df28acd80654705a43bcf1e977b9c423b53'/>
<id>78f69df28acd80654705a43bcf1e977b9c423b53</id>
<content type='text'>
In PR #5358, np.diagonal was modified to return whatever array type it took in.
Also, np.cumsum and np.clip return the same array type. So, np.ravel's behavior is surprising.
Two tests which were expecting np.ravel to return an array have been changed.
Also, the optional `order` parameter was added to MaskedArray.ravel to make it compatible
(matrix.ravel already had this parameter).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In PR #5358, np.diagonal was modified to return whatever array type it took in.
Also, np.cumsum and np.clip return the same array type. So, np.ravel's behavior is surprising.
Two tests which were expecting np.ravel to return an array have been changed.
Also, the optional `order` parameter was added to MaskedArray.ravel to make it compatible
(matrix.ravel already had this parameter).
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Closes #2015: diag returns ndarray</title>
<updated>2014-12-09T04:33:48+00:00</updated>
<author>
<name>Garrett-R</name>
<email>garrettreynolds5@gmail.com</email>
</author>
<published>2014-12-09T04:33:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=819b3a8a019469774a5343afd87ec71ec696bf80'/>
<id>819b3a8a019469774a5343afd87ec71ec696bf80</id>
<content type='text'>
If x is a matrix, np.diag(x) and np.diagonal(x) now return matrices
instead of arrays.  Both of these cause x.diagonal() to be called.
That means they return row vectors (just like x.flatten(), x.ravel(),
x.cumprod(), etc.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If x is a matrix, np.diag(x) and np.diagonal(x) now return matrices
instead of arrays.  Both of these cause x.diagonal() to be called.
That means they return row vectors (just like x.flatten(), x.ravel(),
x.cumprod(), etc.)
</pre>
</div>
</content>
</entry>
<entry>
<title>TST: pass sys.argv to run_module_suite by default</title>
<updated>2014-09-04T18:01:09+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-09-03T22:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=949daeaf42b3e7687eebf7eb764e63a5eec336ea'/>
<id>949daeaf42b3e7687eebf7eb764e63a5eec336ea</id>
<content type='text'>
allows passing flags like --pdb to test files
also add call to files where its missing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allows passing flags like --pdb to test files
also add call to files where its missing
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: restore optional ravel order and add tests and more docstring lines</title>
<updated>2014-08-01T00:23:56+00:00</updated>
<author>
<name>alex</name>
<email>argriffi@ncsu.edu</email>
</author>
<published>2014-08-01T00:23:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=fdedd16f31ee8f35b500d3585bf934b97154d878'/>
<id>fdedd16f31ee8f35b500d3585bf934b97154d878</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: add tobytes and stop using tostring in documentation</title>
<updated>2014-02-11T18:30:21+00:00</updated>
<author>
<name>Julian Taylor</name>
<email>jtaylor.debian@googlemail.com</email>
</author>
<published>2014-02-03T19:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=2facd5cbdcaa08b61270c0c0760a39cd03acc007'/>
<id>2facd5cbdcaa08b61270c0c0760a39cd03acc007</id>
<content type='text'>
tostring returns bytes which are not equal to string, so provide a
tobytes function alias.
tostring does not emit a deprecation warning yet so rdepends do not need
to check two names to support older versions of numpy without warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tostring returns bytes which are not equal to string, so provide a
tobytes function alias.
tostring does not emit a deprecation warning yet so rdepends do not need
to check two names to support older versions of numpy without warnings.
</pre>
</div>
</content>
</entry>
</feed>
