[Numpy-discussion] Re: An article on numpy data types

2021-12-30 Thread Lev Maximov
On Wed, Dec 29, 2021 at 9:59 AM Charles R Harris wrote: > On Tue, Dec 28, 2021 at 2:54 PM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> On 12/28/21, Lev Maximov wrote: >> > On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski >> > >> > wrote: >> > >> >> Very nice overview! >> >> >> >>

[Numpy-discussion] Re: An article on numpy data types

2021-12-30 Thread Charles R Harris
On Thu, Dec 30, 2021 at 4:12 AM Lev Maximov wrote: > On Wed, Dec 29, 2021 at 9:59 AM Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> On Tue, Dec 28, 2021 at 2:54 PM Warren Weckesser < >> warren.weckes...@gmail.com> wrote: >> >>> On 12/28/21, Lev Maximov wrote: >>> > On Tue, Dec 28, 2

[Numpy-discussion] Re: An article on numpy data types

2021-12-30 Thread Lev Maximov
On Fri, Dec 31, 2021 at 12:12 AM Charles R Harris wrote: > > > On Thu, Dec 30, 2021 at 4:12 AM Lev Maximov wrote: > >> On Wed, Dec 29, 2021 at 9:59 AM Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >>> On Tue, Dec 28, 2021 at 2:54 PM Warren Weckesser < >>> warren.weckes...@gmail.com>

[Numpy-discussion] Proposal for new function to determine if a float contains an integer

2021-12-30 Thread Joseph Fox-Rabinovitz
Hi, I wrote a reference implementation for a C ufunc, `isint`, which returns True for integers and False for non-integers, found here: https://github.com/madphysicist/isint_ufunc. The idea came from a Stack Overflow question of mine, which has gotten a fair number of views and even some upvotes: h

[Numpy-discussion] No credits left in travis for 1.22.0 release

2021-12-30 Thread Charles R Harris
Hi All, We need to get more credits in order to run MacPython/numpy-wheels builds on travis. Anyone recall how to go about this? Chuck ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le..

[Numpy-discussion] Re: No credits left in travis for 1.22.0 release

2021-12-30 Thread Charles R Harris
On Thu, Dec 30, 2021 at 6:26 PM Charles R Harris wrote: > Hi All, > > We need to get more credits in order to run MacPython/numpy-wheels builds > on travis. Anyone recall how to go about this? > > Chuck > MacPython has used 800550 of 80 credits. NumPy has used 625860 of 80 credits, so s

[Numpy-discussion] Re: Proposal for new function to determine if a float contains an integer

2021-12-30 Thread Brock Mendel
At least some of the commenters on that StackOverflow page need a slightly stronger check: not only is_integer(x), but also "np.iinfo(dtype).min <= x <= np.info(dtype).max" for some particular dtype. i.e. "Can I losslessly set these values into the array I already have?" On Thu, Dec 30, 2021 at

[Numpy-discussion] Re: Proposal for new function to determine if a float contains an integer

2021-12-30 Thread Joseph Fox-Rabinovitz
Is adding arbitrary optional parameters a thing with ufuncs? I could easily add upper and lower bounds checks. On Thu, Dec 30, 2021, 20:56 Brock Mendel wrote: > At least some of the commenters on that StackOverflow page need a slightly > stronger check: not only is_integer(x), but also "np.iinfo

[Numpy-discussion] Re: No credits left in travis for 1.22.0 release

2021-12-30 Thread Matti Picus
On 31/12/21 3:50 am, Charles R Harris wrote: On Thu, Dec 30, 2021 at 6:26 PM Charles R Harris mailto:charlesr.har...@gmail.com>> wrote: Hi All, We need to get more credits in order to run MacPython/numpy-wheels builds on travis. Anyone recall how to go about this? Chuck

[Numpy-discussion] Who is the tallest and strongest Chinese basketball player?

2021-12-30 Thread Just allstar
Yao Ming is considered to be the wonderful as well as a best chinese basketball player. He is an executive as well as a professional https://www.justallstar.com/20-fun-facts-about-yao-ming-and-how-he-re-shapes-chinese-basketball/";>chinese basketball player. Yao ming was born in shanghai and he i

[Numpy-discussion] Re: Who is the tallest and strongest Chinese basketball player?

2021-12-30 Thread Matti Picus
On 31/12/21 6:14 am, Just allstar wrote: Yao Ming ... Sorry, I hit the wrong button when filtering spam off the list. Matti ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@py

[Numpy-discussion] Re: No credits left in travis for 1.22.0 release

2021-12-30 Thread James Tocknell
I'll need to check with the other maintainers (see https://github.com/h5py/h5py/issues/2026), but I believe h5py shouldn't need the x86 builds any more (I'm less sure about the other systems)? James On Fri, 31 Dec 2021 at 17:03, Matti Picus wrote: > > > On 31/12/21 3:50 am, Charles R Harris wrot