<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/setup.py, branch v1.22.0rc3</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>Apply suggestions from code review</title>
<updated>2021-10-26T06:19:44+00:00</updated>
<author>
<name>Matthew Brett</name>
<email>matthew.brett@gmail.com</email>
</author>
<published>2021-10-26T06:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3263cc6ef528cdd48bd72651ab735dd75c3339c2'/>
<id>3263cc6ef528cdd48bd72651ab735dd75c3339c2</id>
<content type='text'>
Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Matti Picus &lt;matti.picus@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Allow clib callable build flags</title>
<updated>2021-10-23T17:33:16+00:00</updated>
<author>
<name>Matthew Brett</name>
<email>matthew.brett@gmail.com</email>
</author>
<published>2021-10-23T15:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=07778e58fbb5bd0e5172a9c1a99c391144ed41de'/>
<id>07778e58fbb5bd0e5172a9c1a99c391144ed41de</id>
<content type='text'>
At the moment, we are guessing whether we have the MSVC compiler, by
looking at what Python was originally compiled for.  That works only if
we are using the same compiler, but this is not the case when we compile
with e.g. mingw-w64 using Python.org Python.

Unfortunately, at the time we are specifying build flags, we don't know
what compiler we are using.

Allow build flags to clib to be callables that return lists of strings,
instead of strings, where the callables can do work like inspecting the
compiler, at build time.

Use this to check for MSVC at build time, when specifying the
`/GL-` flag.

See gh-9977 for a related discussion about these flags.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At the moment, we are guessing whether we have the MSVC compiler, by
looking at what Python was originally compiled for.  That works only if
we are using the same compiler, but this is not the case when we compile
with e.g. mingw-w64 using Python.org Python.

Unfortunately, at the time we are specifying build flags, we don't know
what compiler we are using.

Allow build flags to clib to be callables that return lists of strings,
instead of strings, where the callables can do work like inspecting the
compiler, at build time.

Use this to check for MSVC at build time, when specifying the
`/GL-` flag.

See gh-9977 for a related discussion about these flags.
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Use lop1p to improve numerical precision</title>
<updated>2021-03-17T14:25:41+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2021-03-17T10:46:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4572e12e199c2032c159121ae9afd12c3d3d5a5a'/>
<id>4572e12e199c2032c159121ae9afd12c3d3d5a5a</id>
<content type='text'>
Use log1p(-x) instead of log(1 - x)
Seperate legacy version from current

closes #17020
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use log1p(-x) instead of log(1 - x)
Seperate legacy version from current

closes #17020
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Fixed an issue where `.pyi` weren't picked up by numpy sub-packages</title>
<updated>2020-11-03T14:08:38+00:00</updated>
<author>
<name>Bas van Beek</name>
<email>b.f.van.beek@vu.nl</email>
</author>
<published>2020-11-03T14:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=99051b40de3b77c166a24250df3fd38689aa412e'/>
<id>99051b40de3b77c166a24250df3fd38689aa412e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark tests as a subpackage rather than data.</title>
<updated>2020-05-06T19:57:36+00:00</updated>
<author>
<name>Hameer Abbasi</name>
<email>einstein.edison@gmail.com</email>
</author>
<published>2020-05-06T18:34:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=a51ac2610cd6a3c23d48c65709397083da395733'/>
<id>a51ac2610cd6a3c23d48c65709397083da395733</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: missing 'f' prefix for fstring</title>
<updated>2020-04-22T07:30:43+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-04-22T07:30:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c0d8fe1f6c360949db800c195fc757322d5e0c39'/>
<id>c0d8fe1f6c360949db800c195fc757322d5e0c39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: add missing c_distributions.pxd, enables cython use of random C-API (gh-15463)</title>
<updated>2020-03-16T22:02:06+00:00</updated>
<author>
<name>Matti Picus</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2020-03-16T22:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=4f2b219647ae6a7928590be2b709894ae2403274'/>
<id>4f2b219647ae6a7928590be2b709894ae2403274</id>
<content type='text'>
xref gh-14778

As pointed out in the comment by @jamesthomasgriffin, we did not include a pxd file to expose the distribution functions documented in the random c-api. This PR adds a c_distributions.pxd file that exposes them.

Squashed commits:

* BUG: add missing c_distributions.pxd to enable cython use of random C-API

* ENH, TST: add npyrandom library like npymath, test cython use of it

* BUG: actually prefix f-string with f

* MAINT: fixes from review, add _bit_generato_bit_generator.pxd

* STY: fixes from review

* BLD: don't use nprandom library for mtrand legacy build

* TST: WindowsPath cannot be used in subprocess's list2cmdline

* MAINT, API: move _bit_generator to bit_generator

* DOC: add release note about moving bit_generator

* DOC, MAINT: fixes from review

* MAINT: redo dtype determination from review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xref gh-14778

As pointed out in the comment by @jamesthomasgriffin, we did not include a pxd file to expose the distribution functions documented in the random c-api. This PR adds a c_distributions.pxd file that exposes them.

Squashed commits:

* BUG: add missing c_distributions.pxd to enable cython use of random C-API

* ENH, TST: add npyrandom library like npymath, test cython use of it

* BUG: actually prefix f-string with f

* MAINT: fixes from review, add _bit_generato_bit_generator.pxd

* STY: fixes from review

* BLD: don't use nprandom library for mtrand legacy build

* TST: WindowsPath cannot be used in subprocess's list2cmdline

* MAINT, API: move _bit_generator to bit_generator

* DOC: add release note about moving bit_generator

* DOC, MAINT: fixes from review

* MAINT: redo dtype determination from review</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: Remove unnecessary 'from __future__ import ...' statements</title>
<updated>2020-01-03T15:48:11+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-08-27T11:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=ed1e9659f103260a32536b4a7615393e3b1173dc'/>
<id>ed1e9659f103260a32536b4a7615393e3b1173dc</id>
<content type='text'>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As numpy is Python 3 only, these import statements are now unnecessary
and don't alter runtime behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #14954 from mattip/test-extending-cffi</title>
<updated>2019-11-27T20:15:27+00:00</updated>
<author>
<name>Charles Harris</name>
<email>charlesr.harris@gmail.com</email>
</author>
<published>2019-11-27T20:15:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3fcf144be4939a6a785dc80b75189c2e05d6bd22'/>
<id>3fcf144be4939a6a785dc80b75189c2e05d6bd22</id>
<content type='text'>
TST. API: test using distributions.h via cffi</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TST. API: test using distributions.h via cffi</pre>
</div>
</content>
</entry>
<entry>
<title>DOC, API: add numpy.random.__index__.pxd and document numpy.random.* funcs</title>
<updated>2019-11-22T00:47:30+00:00</updated>
<author>
<name>mattip</name>
<email>matti.picus@gmail.com</email>
</author>
<published>2019-11-21T06:10:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c63f8119afb65e30f837ab7198776854bb92b9b2'/>
<id>c63f8119afb65e30f837ab7198776854bb92b9b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
