<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/ma, branch v1.10.0rc2</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>Changed the module name from 'np' to 'numpy' since the name 'np' was raising an ImportError.</title>
<updated>2015-08-21T21:11:22+00:00</updated>
<author>
<name>James Camel</name>
<email>Jcamel245@gmail.com</email>
</author>
<published>2015-08-18T22:05:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=87134ec691e6c685f91a7d4726d3908bec268bc5'/>
<id>87134ec691e6c685f91a7d4726d3908bec268bc5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Continue to export some testing functions from ma.testutils.</title>
<updated>2015-07-25T17:39:05+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-05T06:30:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=acd85d569c81e12b0b2ee37e40997cbabbd5ebc6'/>
<id>acd85d569c81e12b0b2ee37e40997cbabbd5ebc6</id>
<content type='text'>
This is for backward compatibility. We may want to add more testing
functions if other folks run into problems in the 1.10 release.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is for backward compatibility. We may want to add more testing
functions if other folks run into problems in the 1.10 release.
</pre>
</div>
</content>
</entry>
<entry>
<title>STY,MAINT: Run pyflakes and pep8 on numpy/ma/tests/*.</title>
<updated>2015-07-25T17:39:05+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-05T05:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b733a10a9cc806f4772728015ec1bd9e63322858'/>
<id>b733a10a9cc806f4772728015ec1bd9e63322858</id>
<content type='text'>
Also fix "*" imports.

The formatting of test arrays is not fixed for multiple spaces following
"," and other violations that are common in tests. To be precise, E241
and E201 are added to the errors that are excluded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix "*" imports.

The formatting of test arrays is not fixed for multiple spaces following
"," and other violations that are common in tests. To be precise, E241
and E201 are added to the errors that are excluded.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP,ENH: Deprecate numpy.ma.rank and add numpy.ma.ndim.</title>
<updated>2015-07-05T05:51:13+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-05T01:53:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=9bc2d3214a454e5341b27bf4a22bc8a241b86a83'/>
<id>9bc2d3214a454e5341b27bf4a22bc8a241b86a83</id>
<content type='text'>
The np.rank was deprecated in 1.9.0.
Add test for deprecation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The np.rank was deprecated in 1.9.0.
Add test for deprecation.
</pre>
</div>
</content>
</entry>
<entry>
<title>STY,MAINT: PEP8 and pyflakes fixes for numpy/ma/*.py</title>
<updated>2015-07-05T05:50:39+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-04T23:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7c8c9adda27efe7f84fc98240ee1b7fa15714f06'/>
<id>7c8c9adda27efe7f84fc98240ee1b7fa15714f06</id>
<content type='text'>
Also

* Add __all__ to numpy/ma/testutils.py
* Remove various stray "#"

We might want to consider removing/refactoring both numpy/ma/bench.py
and numpy/ma/timer_comparison.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also

* Add __all__ to numpy/ma/testutils.py
* Remove various stray "#"

We might want to consider removing/refactoring both numpy/ma/bench.py
and numpy/ma/timer_comparison.
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Fix docstring warnings in documetation generation.</title>
<updated>2015-07-02T05:40:56+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-02T05:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f5e9adbbf87903e42d03bb3dd5f86b70a89e930c'/>
<id>f5e9adbbf87903e42d03bb3dd5f86b70a89e930c</id>
<content type='text'>
Most of these fixes involve putting blank lines around

.. versionadded:: x.x.x

and

.. deprecated:: x.x.x

Some of the examples were also fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of these fixes involve putting blank lines around

.. versionadded:: x.x.x

and

.. deprecated:: x.x.x

Some of the examples were also fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5990 from charris/1.10-deprecated-removal</title>
<updated>2015-06-21T20:10:24+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-06-21T20:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e3b2bc0b0f31482cd112660393245116ae55ecbf'/>
<id>e3b2bc0b0f31482cd112660393245116ae55ecbf</id>
<content type='text'>
1.10 deprecated removal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.10 deprecated removal</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Mark deprecation warning with a date and Numpy version.</title>
<updated>2015-06-21T18:43:06+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-06-20T01:54:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51'/>
<id>505b0f4c11acb1ade1e91f1360ffa6a33cbd0b51</id>
<content type='text'>
This is to make it easier to find and remove deprecated features.
It would be a good idea if all deprecations were made with similar
comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to make it easier to find and remove deprecated features.
It would be a good idea if all deprecations were made with similar
comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: automatically convert recarray dtype to np.record</title>
<updated>2015-06-19T20:43:31+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2015-06-05T16:10:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a93b86217e9ff8cc1060aaf362cd682b518cfb7b'/>
<id>a93b86217e9ff8cc1060aaf362cd682b518cfb7b</id>
<content type='text'>
Viewing an ndarray as a np.recarray now automatically converts
the dtype to np.record.

This commit also fixes assignment to MaskedArray's dtype attribute,
fixes the repr of recarrays with non-structured dtype, and removes
recarray.view so that viewing a recarray as a non-structured dtype
no longer converts to ndarray type.

Fixes #3581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Viewing an ndarray as a np.recarray now automatically converts
the dtype to np.record.

This commit also fixes assignment to MaskedArray's dtype attribute,
fixes the repr of recarrays with non-structured dtype, and removes
recarray.view so that viewing a recarray as a non-structured dtype
no longer converts to ndarray type.

Fixes #3581
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG Ensure masked object arrays can always return single items.</title>
<updated>2015-06-18T02:17:04+00:00</updated>
<author>
<name>Marten van Kerkwijk</name>
<email>mhvk@astro.utoronto.ca</email>
</author>
<published>2015-06-12T16:49:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1a4d94357eb8d06930ad69309fda579a8caa6c57'/>
<id>1a4d94357eb8d06930ad69309fda579a8caa6c57</id>
<content type='text'>
For a masked array holding objects that themselves are arrays, when selecting a
single item, it is treated as if it were a slice of the array and an attempt is
made to set its mask.  This was always a bug, but it become visible with a
recent change to `MaskedArray.__getitem__` (gh-4586) where it is attempted to
change the shape of the mask.  With this PR, this case gets special  treatment
in that the object is made into a Masked Array with a full set mask.
(A previous attempt to do the perhaps more logical think and just return
`masked` caused quite a few errors in astropy.io.votable; it seemed it was
not worth breaking backwards compatibility that much).

Test case that now works but used to fail:
```
mx1 = MaskedArray([1.], mask=[True])
mx2 = MaskedArray([1., 2.])
mx = MaskedArray([mx1, mx2], mask=[False, True])
mx[0]
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For a masked array holding objects that themselves are arrays, when selecting a
single item, it is treated as if it were a slice of the array and an attempt is
made to set its mask.  This was always a bug, but it become visible with a
recent change to `MaskedArray.__getitem__` (gh-4586) where it is attempted to
change the shape of the mask.  With this PR, this case gets special  treatment
in that the object is made into a Masked Array with a full set mask.
(A previous attempt to do the perhaps more logical think and just return
`masked` caused quite a few errors in astropy.io.votable; it seemed it was
not worth breaking backwards compatibility that much).

Test case that now works but used to fail:
```
mx1 = MaskedArray([1.], mask=[True])
mx2 = MaskedArray([1., 2.])
mx = MaskedArray([mx1, mx2], mask=[False, True])
mx[0]
```
</pre>
</div>
</content>
</entry>
</feed>
