<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/core, branch pr/12889</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>BUG: load fails when using pickle without allow_pickle=True</title>
<updated>2019-04-17T01:41:08+00:00</updated>
<author>
<name>Paul Ivanov</name>
<email>pivanov5@bloomberg.net</email>
</author>
<published>2019-01-30T22:22:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=483f0a5d765033294a3b8ce9a04d4fc96170bbfc'/>
<id>483f0a5d765033294a3b8ce9a04d4fc96170bbfc</id>
<content type='text'>
a partial mitigation of #12759.

see also https://nvd.nist.gov/vuln/detail/CVE-2019-6446
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a partial mitigation of #12759.

see also https://nvd.nist.gov/vuln/detail/CVE-2019-6446
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13322 from eric-wieser/cyclic-import</title>
<updated>2019-04-14T02:49:02+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-04-14T02:49:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=fb425b769bbe4ff4b5a28f58876871414cc8bb12'/>
<id>fb425b769bbe4ff4b5a28f58876871414cc8bb12</id>
<content type='text'>
MAINT: Move umath error helpers into their own module</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Move umath error helpers into their own module</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move umath error helpers into their own module</title>
<updated>2019-04-14T01:50:11+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-13T20:03:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b87a9e2784b7e5c864ebe19708b07d7211e01e29'/>
<id>b87a9e2784b7e5c864ebe19708b07d7211e01e29</id>
<content type='text'>
This is a direct move, with some tweaks to imports.

For some reason, this changed the results of running the doctests, which now reflect the actual defaults for `geterrobj`.

This helps to make `core.numeric` a little shorter.

This doesn't affect the value of `np.core.numeric.__all__` which keeps code doing `from numpy.core.numeric import *` working.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a direct move, with some tweaks to imports.

For some reason, this changed the results of running the doctests, which now reflect the actual defaults for `geterrobj`.

This helps to make `core.numeric` a little shorter.

This doesn't affect the value of `np.core.numeric.__all__` which keeps code doing `from numpy.core.numeric import *` working.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13324 from eric-wieser/move-asarray</title>
<updated>2019-04-14T01:35:47+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-04-14T01:35:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=396cc499afa87c49f1b357438c8262625f25666d'/>
<id>396cc499afa87c49f1b357438c8262625f25666d</id>
<content type='text'>
MAINT: Move asarray helpers into their own module</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MAINT: Move asarray helpers into their own module</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move asarray helpers into their own module</title>
<updated>2019-04-14T00:40:43+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-14T00:10:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=82641c61b1a2d6d1b8cccce5a65f4215c94b99b2'/>
<id>82641c61b1a2d6d1b8cccce5a65f4215c94b99b2</id>
<content type='text'>
This is a direct move, with some tweaks to imports.

This breaks a cyclic imports between `core.numeric` and `core.fromnumeric`.

This doesn't affect the value of `np.core.numeric.__all__` which keeps code doing `from numpy.core.numeric import *` working.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a direct move, with some tweaks to imports.

This breaks a cyclic imports between `core.numeric` and `core.fromnumeric`.

This doesn't affect the value of `np.core.numeric.__all__` which keeps code doing `from numpy.core.numeric import *` working.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #13323 from seberg/ufunc-at-large-iteration</title>
<updated>2019-04-13T21:07:56+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-13T21:07:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=cc8b978cc3c0abe57c3784b99302a04f2c2701d9'/>
<id>cc8b978cc3c0abe57c3784b99302a04f2c2701d9</id>
<content type='text'>
BUG: ufunc.at iteration variable size fix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: ufunc.at iteration variable size fix</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: ufunc.at iteration variable size fix</title>
<updated>2019-04-13T20:09:06+00:00</updated>
<author>
<name>Sebastian Berg</name>
<email>sebastian@sipsolutions.net</email>
</author>
<published>2019-04-13T20:09:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=6dac2d6a4a061a39cc41f93641c0c29085cd10a6'/>
<id>6dac2d6a4a061a39cc41f93641c0c29085cd10a6</id>
<content type='text'>
The iteration variable has to be intp of course, unfortunately
a test is too slow to be practical (even as a slow test).

This code needs more refactoring, but since it is a minimal fix...

Closes gh-13286
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The iteration variable has to be intp of course, unfortunately
a test is too slow to be practical (even as a slow test).

This code needs more refactoring, but since it is a minimal fix...

Closes gh-13286
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Move exceptions from core._internal to core._exceptions</title>
<updated>2019-04-13T19:09:20+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-13T18:54:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=3b8bcc33e1fb75c7fed4cc0d83fd2640da5e1e77'/>
<id>3b8bcc33e1fb75c7fed4cc0d83fd2640da5e1e77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fix bad error message in np.memmap</title>
<updated>2019-04-12T04:00:27+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2019-04-12T04:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=b60f33dd0747574570764ac8072386dccc85dd44'/>
<id>b60f33dd0747574570764ac8072386dccc85dd44</id>
<content type='text'>
This previously raisd `OSError: [Errno 22] Invalid argument` while trying to seek to byte -1 of the file.

It now raises `ValueError: cannot mmap an empty file`

The simple fix is not to write the file at all if we know it's already long enough.

In future we could consider allowing memmap to do an extra write behind the scenes to ensure the fiel is not empty, but that seems out of scope.

Fixes gh-12653
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This previously raisd `OSError: [Errno 22] Invalid argument` while trying to seek to byte -1 of the file.

It now raises `ValueError: cannot mmap an empty file`

The simple fix is not to write the file at all if we know it's already long enough.

In future we could consider allowing memmap to do an extra write behind the scenes to ensure the fiel is not empty, but that seems out of scope.

Fixes gh-12653
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: fix unused variable warning in npy_math_complex.c.src</title>
<updated>2019-04-09T09:43:46+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2019-04-09T09:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/numpy.git/commit/?id=cc10cddde24091a396c34bdcee5da081fee40200'/>
<id>cc10cddde24091a396c34bdcee5da081fee40200</id>
<content type='text'>
Warnings:

```
x86_64-conda_cos6-linux-gnu-cc: numpy/core/src/npymath/npy_math.c
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinhf':
numpy/core/src/npymath/npy_math_complex.c.src:1445:21: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                     ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1434:30: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_float pio2_lo = 7.5497899549e-9f;
                              ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinh':
numpy/core/src/npymath/npy_math_complex.c.src:1445:22: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                      ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1438:31: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_double pio2_lo = 6.1232339957367659e-17;
                               ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinhl':
numpy/core/src/npymath/npy_math_complex.c.src:1445:26: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                          ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1442:35: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_longdouble pio2_lo = 2.710505431213761085e-20l;
                                   ^~~~~~~
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Warnings:

```
x86_64-conda_cos6-linux-gnu-cc: numpy/core/src/npymath/npy_math.c
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinhf':
numpy/core/src/npymath/npy_math_complex.c.src:1445:21: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                     ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1434:30: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_float pio2_lo = 7.5497899549e-9f;
                              ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinh':
numpy/core/src/npymath/npy_math_complex.c.src:1445:22: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                      ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1438:31: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_double pio2_lo = 6.1232339957367659e-17;
                               ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src: In function 'npy_casinhl':
numpy/core/src/npymath/npy_math_complex.c.src:1445:26: warning: unused variable 'pio2_hi' [-Wunused-variable]
     const @type@ pio2_hi = NPY_PI_2@c@;
                          ^~~~~~~
numpy/core/src/npymath/npy_math_complex.c.src:1442:35: warning: unused variable 'pio2_lo' [-Wunused-variable]
     const volatile npy_longdouble pio2_lo = 2.710505431213761085e-20l;
                                   ^~~~~~~
```
</pre>
</div>
</content>
</entry>
</feed>
