<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/arrayprint.py, 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>STY: PEP8 fixes for numpy/core/*.py</title>
<updated>2015-07-05T18:18:26+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-07-05T17:47:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8b3e9ae5262c1da1118370cd6e83db9b2166952e'/>
<id>8b3e9ae5262c1da1118370cd6e83db9b2166952e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: improve string representation of NaTs in timedelta64 arrays</title>
<updated>2015-07-01T17:54:50+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>antoine@python.org</email>
</author>
<published>2015-07-01T17:54:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7aa4f494e3dbd183d08d5130b52c0c62fa2af675'/>
<id>7aa4f494e3dbd183d08d5130b52c0c62fa2af675</id>
<content type='text'>
Rather than representing them as "-9223372036854775808",
we now represent them as "'NaT'", as in datetime64 arrays.
Note this changes the numpy.core.arrayprint printer, not the builtin
printer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than representing them as "-9223372036854775808",
we now represent them as "'NaT'", as in datetime64 arrays.
Note this changes the numpy.core.arrayprint printer, not the builtin
printer.
</pre>
</div>
</content>
</entry>
<entry>
<title>DEP,MAINT: Remove support for a._format array printing.</title>
<updated>2015-06-21T19:46:12+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2015-06-20T20:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=e1693d4ee1833eb0c07269da78712d529e71d943'/>
<id>e1693d4ee1833eb0c07269da78712d529e71d943</id>
<content type='text'>
Deprecated, removed from numpy/core/arrayprint.py.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecated, removed from numpy/core/arrayprint.py.
</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>DOC: add array2string to reference guide and explain relation to array_repr/str</title>
<updated>2015-03-18T06:44:30+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@googlemail.com</email>
</author>
<published>2015-03-18T06:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=dafb597e9d03607130c25afbee3d4bec34a68866'/>
<id>dafb597e9d03607130c25afbee3d4bec34a68866</id>
<content type='text'>
Closes gh-5684.

[ci skip]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-5684.

[ci skip]
</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://git.baserock.org/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>STY: Giant comma spacing fixup.</title>
<updated>2013-08-18T17:51:25+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-08-18T17:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=fbd6510d58a47ea0d166c48a82793f05425406e4'/>
<id>fbd6510d58a47ea0d166c48a82793f05425406e4</id>
<content type='text'>
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long
and will need to be broken at some point. OTOH, some lines were already
too long and need to be broken at some point. Now seems as good a time
as any to do this with open PRs at a minimum.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long
and will need to be broken at some point. OTOH, some lines were already
too long and need to be broken at some point. Now seems as good a time
as any to do this with open PRs at a minimum.
</pre>
</div>
</content>
</entry>
<entry>
<title>STY: Giant whitespace cleanup.</title>
<updated>2013-08-18T17:20:45+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-08-18T17:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=8ddb0ce0acafe75d78df528b4d2540dfbf4b364d'/>
<id>8ddb0ce0acafe75d78df528b4d2540dfbf4b364d</id>
<content type='text'>
Now is as good a time as any with open PR's at a low.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now is as good a time as any with open PR's at a low.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Use np.errstate context manager.</title>
<updated>2013-07-11T22:49:04+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-07-11T22:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2f1174dee44e901b7d028beb86f4a8ea324bd74f'/>
<id>2f1174dee44e901b7d028beb86f4a8ea324bd74f</id>
<content type='text'>
Now that Python &lt; 2.6 is no longer supported we can use the errstate
context manager in places where constructs like
```
    old = seterr(invalid='ignore')
    try:
        blah
    finally:
       seterr(**old)
```
were used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that Python &lt; 2.6 is no longer supported we can use the errstate
context manager in places where constructs like
```
    old = seterr(invalid='ignore')
    try:
        blah
    finally:
       seterr(**old)
```
were used.
</pre>
</div>
</content>
</entry>
<entry>
<title>2to3: Apply renames fixer.</title>
<updated>2013-04-13T16:16:40+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2013-04-13T15:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ffdad17d0db1d55d39911d637c650ea0acada78b'/>
<id>ffdad17d0db1d55d39911d637c650ea0acada78b</id>
<content type='text'>
Rename sys.maxint to sys.maxsize when the Python version is &gt;= 3.  This
change was made in Python 3 because all integers are 'long' integers and
their maximum value bears no relationship to the C type that int used to
represent. The new sys.maxsize value is the maximum value of Py_ssize_t.
This change has not led to any reported problems since the numpy 1.5
release.

Closes #3082
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename sys.maxint to sys.maxsize when the Python version is &gt;= 3.  This
change was made in Python 3 because all integers are 'long' integers and
their maximum value bears no relationship to the C type that int used to
represent. The new sys.maxsize value is the maximum value of Py_ssize_t.
This change has not led to any reported problems since the numpy 1.5
release.

Closes #3082
</pre>
</div>
</content>
</entry>
</feed>
