<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core/arrayprint.py, branch meson</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>MAINT: Rm unnecessary checks in determining typeless data.</title>
<updated>2022-11-14T05:16:39+00:00</updated>
<author>
<name>Ross Barnowski</name>
<email>rossbar@berkeley.edu</email>
</author>
<published>2022-11-14T05:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d66bb7c8872a8f7c2373506262de9163892d6bee'/>
<id>d66bb7c8872a8f7c2373506262de9163892d6bee</id>
<content type='text'>
The issubclass should always be false in Python3, so this change
should not change behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issubclass should always be false in Python3, so this change
should not change behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: Add spaces after punctuation in dtype repr/str. (#19686)</title>
<updated>2021-09-29T18:09:32+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2021-09-29T18:09:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a6f7d14e60e3d56fe1c0073730a06e23cf696c5a'/>
<id>a6f7d14e60e3d56fe1c0073730a06e23cf696c5a</id>
<content type='text'>
Before:
```
In [1]: np.dtype({"names": ["a"], "formats": [int], "offsets": [2]})
Out[1]: dtype({'names':['a'], 'formats':['&lt;i8'], 'offsets':[2], 'itemsize':10})
```

After:
```
In [1]: np.dtype({"names": ["a"], "formats": [int], "offsets": [2]})
Out[1]: dtype({'names': ['a'], 'formats': ['&lt;i8'], 'offsets': [2], 'itemsize': 10})
```

* Allow switching back to old dtype printing format.

* Add changelog.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before:
```
In [1]: np.dtype({"names": ["a"], "formats": [int], "offsets": [2]})
Out[1]: dtype({'names':['a'], 'formats':['&lt;i8'], 'offsets':[2], 'itemsize':10})
```

After:
```
In [1]: np.dtype({"names": ["a"], "formats": [int], "offsets": [2]})
Out[1]: dtype({'names': ['a'], 'formats': ['&lt;i8'], 'offsets': [2], 'itemsize': 10})
```

* Allow switching back to old dtype printing format.

* Add changelog.</pre>
</div>
</content>
</entry>
<entry>
<title>TST: Add C-side "Scaled float" example</title>
<updated>2021-07-27T00:16:58+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2021-07-21T01:47:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=13c313c107e5a85d3d1ce8eff37af5c4022f8cba'/>
<id>13c313c107e5a85d3d1ce8eff37af5c4022f8cba</id>
<content type='text'>
This adds a C-side scaled float (actually double), that is available
as:

     SF = np.core._multiarray_umath._get_sfloat_dtype()

It supports different scaling factors:

    a = np.arange(10.).astype(SF(2.))
    b = np.arange(10.).astype(SF(0.5))

and casting from double (used there).

This commit makes tiny changes in NumPy to support correct printing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a C-side scaled float (actually double), that is available
as:

     SF = np.core._multiarray_umath._get_sfloat_dtype()

It supports different scaling factors:

    a = np.arange(10.).astype(SF(2.))
    b = np.arange(10.).astype(SF(0.5))

and casting from double (used there).

This commit makes tiny changes in NumPy to support correct printing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18629 from ahaldane/min_digits</title>
<updated>2021-03-31T17:11:53+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-03-31T17:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=2afcdbf7b82c4196004e5fa60fffacd22d94b6d1'/>
<id>2afcdbf7b82c4196004e5fa60fffacd22d94b6d1</id>
<content type='text'>
BUG, ENH: fix array2string rounding bug by adding min_digits option</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG, ENH: fix array2string rounding bug by adding min_digits option</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: Add versionadded for new min_digits argument.</title>
<updated>2021-03-31T16:14:34+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2021-03-31T16:14:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=179d62bc18174378e220c6babf3806b838f02229'/>
<id>179d62bc18174378e220c6babf3806b838f02229</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update arrayprint.py</title>
<updated>2021-03-19T16:58:15+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2021-03-19T16:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d177382065ca135b921175b94a79119c61a1dbd5'/>
<id>d177382065ca135b921175b94a79119c61a1dbd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update numpy/core/arrayprint.py</title>
<updated>2021-03-19T16:45:28+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>ealloc@gmail.com</email>
</author>
<published>2021-03-19T16:45:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=5abc3946bd951211df4d0b492bd1781394dddcde'/>
<id>5abc3946bd951211df4d0b492bd1781394dddcde</id>
<content type='text'>
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update numpy/core/arrayprint.py</title>
<updated>2021-03-19T16:42:57+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>ealloc@gmail.com</email>
</author>
<published>2021-03-19T16:42:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f14a028404e0457b7ca049fdd4968675cbc9cf54'/>
<id>f14a028404e0457b7ca049fdd4968675cbc9cf54</id>
<content type='text'>
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Sebastian Berg &lt;sebastian@sipsolutions.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: use super() as described by PEP 3135</title>
<updated>2021-03-19T09:14:30+00:00</updated>
<author>
<name>Mike Taves</name>
<email>mwtoews@gmail.com</email>
</author>
<published>2021-03-19T09:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c1aa1af62f6e9fcdda92d6d0991b15051a565814'/>
<id>c1aa1af62f6e9fcdda92d6d0991b15051a565814</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG/ENH: fix array2string rounding bug by adding min_digits option</title>
<updated>2021-03-19T00:05:39+00:00</updated>
<author>
<name>Allan Haldane</name>
<email>allan.haldane@gmail.com</email>
</author>
<published>2021-03-15T12:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=75bb1a80d104561c7a1870c86e6e5f0972cde5df'/>
<id>75bb1a80d104561c7a1870c86e6e5f0972cde5df</id>
<content type='text'>
Fixes #18609
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #18609
</pre>
</div>
</content>
</entry>
</feed>
