<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/tests, branch v1.13.2</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>BUG: Buttress handling of extreme values in randint</title>
<updated>2017-05-09T07:12:52+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17@gmail.com</email>
</author>
<published>2017-03-26T21:30:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=1f88730b3140af1efb7d2e789d21078ad66c8eee'/>
<id>1f88730b3140af1efb7d2e789d21078ad66c8eee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Check for errors when PyInt_AsLong is called in np.random</title>
<updated>2017-04-02T22:17:33+00:00</updated>
<author>
<name>Simon Gibbons</name>
<email>simongibbons@gmail.com</email>
</author>
<published>2017-04-01T22:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=30ab8fc16883f111eba3c873eff32323eeb58747'/>
<id>30ab8fc16883f111eba3c873eff32323eeb58747</id>
<content type='text'>
After #8883 was merged it was noticed that the same problem was
occuring with calls to PyInt_AsLong. Namely that PyErr_Occoured
wasn't being checked if it returned -1 indicating an exception
could have been thrown.

This PR adds those checks as well as a regression test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After #8883 was merged it was noticed that the same problem was
occuring with calls to PyInt_AsLong. Namely that PyErr_Occoured
wasn't being checked if it returned -1 indicating an exception
could have been thrown.

This PR adds those checks as well as a regression test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test</title>
<updated>2017-04-01T21:58:48+00:00</updated>
<author>
<name>Simon Gibbons</name>
<email>simongibbons@gmail.com</email>
</author>
<published>2017-04-01T21:58:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=db2f5089fc5442ea8fca49188e2750a6c39b5664'/>
<id>db2f5089fc5442ea8fca49188e2750a6c39b5664</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Ensure Errors are correctly checked when PyFloat_AsDouble is called.</title>
<updated>2017-04-01T21:54:09+00:00</updated>
<author>
<name>Simon Gibbons</name>
<email>simongibbons@gmail.com</email>
</author>
<published>2017-04-01T20:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a6c3d0eeab3d65b3ec047e8601da84a2ebb97d70'/>
<id>a6c3d0eeab3d65b3ec047e8601da84a2ebb97d70</id>
<content type='text'>
There was an error in np.random.uniform where if np.random.uniform
were called with a type that throwed exceptions when it was converted
to a float this exception wouldn't be raised.

This bug was due to an issue where PyFloat_AsDouble was called but
no check for PyErr_Occurred was performed after.

This PR fixes the issue by ensuring that Cython will always emit a
call to PyErr_Occurred if PyFloat_AsDouble returns -1.0

Fixes: #8865
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was an error in np.random.uniform where if np.random.uniform
were called with a type that throwed exceptions when it was converted
to a float this exception wouldn't be raised.

This bug was due to an issue where PyFloat_AsDouble was called but
no check for PyErr_Occurred was performed after.

This PR fixes the issue by ensuring that Cython will always emit a
call to PyErr_Occurred if PyFloat_AsDouble returns -1.0

Fixes: #8865
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: update docs and comments for move of mailing list to python.org</title>
<updated>2017-03-26T07:52:46+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2017-03-26T07:52:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=46f7dca10c2b12a0cc35a7174dd7c88f1da879dd'/>
<id>46f7dca10c2b12a0cc35a7174dd7c88f1da879dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove asbytes where a b prefix would suffice</title>
<updated>2017-03-25T10:36:28+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2017-03-25T10:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b87fca27261f79be20ab06a222ed2330d60d9f2c'/>
<id>b87fca27261f79be20ab06a222ed2330d60d9f2c</id>
<content type='text'>
Since we only need to support python 2, we can remove any case where we just
pass a single string literal and use the b prefix instead.

What we can't do is transform asbytes("tests %d" % num), because %-formatting
fails on bytes in python 3.x &lt; 3.5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we only need to support python 2, we can remove any case where we just
pass a single string literal and use the b prefix instead.

What we can't do is transform asbytes("tests %d" % num), because %-formatting
fails on bytes in python 3.x &lt; 3.5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert gh-8570.</title>
<updated>2017-03-13T17:47:58+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2017-03-13T17:47:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7c00cd7f4b91f6b70d30a84aa27aa130dafe33b9'/>
<id>7c00cd7f4b91f6b70d30a84aa27aa130dafe33b9</id>
<content type='text'>
BUG: fix issue #8250 where np.random.permutation fail.

This reverts commit 7a73bad2d9c04e4f16e87dbed9d7b627327fe814.

Closes #8776.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: fix issue #8250 where np.random.permutation fail.

This reverts commit 7a73bad2d9c04e4f16e87dbed9d7b627327fe814.

Closes #8776.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #8570 from evanlimanto/random-permutation-shuffle-fix</title>
<updated>2017-03-12T15:25:53+00:00</updated>
<author>
<name>Eric Wieser</name>
<email>wieser.eric@gmail.com</email>
</author>
<published>2017-03-12T15:25:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=cf349c91e22b2195b32290f14777be79acc9af15'/>
<id>cf349c91e22b2195b32290f14777be79acc9af15</id>
<content type='text'>
BUG: fix issue #8250 when np.array gets called on an invalid sequence</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: fix issue #8250 when np.array gets called on an invalid sequence</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: fix issue #8250 where np.random.permutation fails when np.array gets called on an invalid sequence.</title>
<updated>2017-03-11T01:01:55+00:00</updated>
<author>
<name>Evan Limanto</name>
<email>evanlimanto@gmail.com</email>
</author>
<published>2017-02-06T03:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=7a73bad2d9c04e4f16e87dbed9d7b627327fe814'/>
<id>7a73bad2d9c04e4f16e87dbed9d7b627327fe814</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 assert statements in random.choice tests</title>
<updated>2017-02-28T21:23:02+00:00</updated>
<author>
<name>Marein Könings</name>
<email>marein@science.ru.nl</email>
</author>
<published>2017-02-28T21:23:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=26768ae7066bb4417dd05de7747039edf3c116e1'/>
<id>26768ae7066bb4417dd05de7747039edf3c116e1</id>
<content type='text'>
Unless I am very much mistaken these 'assert_(x,y)' calls should really be 'assert_equal(x,y)'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unless I am very much mistaken these 'assert_(x,y)' calls should really be 'assert_equal(x,y)'.
</pre>
</div>
</content>
</entry>
</feed>
