Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread Nathaniel Smith
On Thu, Oct 8, 2015 at 1:07 PM, David Cournapeau wrote: > > On Thu, Oct 8, 2015 at 8:47 PM, Nathaniel Smith wrote: >> >> On Oct 8, 2015 06:30, "David Cournapeau" wrote: >> > >> [...] >> > >> > Separating the pure C code into static lib is the simple way of >> > achieving the same goal. Essential

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Matthew Brett
Hi, On Thu, Oct 8, 2015 at 6:32 PM, Charles R Harris wrote: > > > On Thu, Oct 8, 2015 at 7:26 PM, Nathaniel Smith wrote: >> >> On Oct 8, 2015 5:39 PM, "Charles R Harris" >> wrote: >> > >> > On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett >> > wrote: >> >> >> >> Hi, >> >> >> >> I'm afraid I made

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Charles R Harris
On Thu, Oct 8, 2015 at 7:26 PM, Nathaniel Smith wrote: > On Oct 8, 2015 5:39 PM, "Charles R Harris" > wrote: > > > > On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett > wrote: > >> > >> Hi, > >> > >> I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. > >> Using twine to do the uploa

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Charles R Harris
On Thu, Oct 8, 2015 at 7:19 PM, wrote: > > > On Thu, Oct 8, 2015 at 8:39 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett >> wrote: >> >>> Hi, >>> >>> I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. >>> Using t

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Nathaniel Smith
On Oct 8, 2015 5:39 PM, "Charles R Harris" wrote: > > On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett wrote: >> >> Hi, >> >> I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. >> Using twine to do the upload generated a new release - 1.10.0.post2 - >> containing only the wheels. I

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread josef.pktd
On Thu, Oct 8, 2015 at 8:39 PM, Charles R Harris wrote: > > > On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett > wrote: > >> Hi, >> >> I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. >> Using twine to do the upload generated a new release - 1.10.0.post2 - >> containing only the w

Re: [Numpy-discussion] NumFOCUS fiscal sponsorship agreement

2015-10-08 Thread Chris Barker - NOAA Federal
Looks good to me. This pretty exciting, actually :-) -CHB Sent from my iPhone > On Oct 7, 2015, at 10:57 PM, Nathaniel Smith wrote: > > Hi all, > > Now that the governance document is in place, we need to get our legal > ducks in a row by signing a fiscal sponsorship agreement with > NumFOCUS.

Re: [Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Charles R Harris
On Thu, Oct 8, 2015 at 6:30 PM, Matthew Brett wrote: > Hi, > > I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. > Using twine to do the upload generated a new release - 1.10.0.post2 - > containing only the wheels. I deleted that new release to avoid > confusion, but now, when I

[Numpy-discussion] Oops - maybe post3 numpy file?

2015-10-08 Thread Matthew Brett
Hi, I'm afraid I made a mistake uploading OSX wheels for numpy 1.10.0. Using twine to do the upload generated a new release - 1.10.0.post2 - containing only the wheels. I deleted that new release to avoid confusion, but now, when I try and upload the wheels to the 1.10.0 pypi release via the web

Re: [Numpy-discussion] method to calculate the magnitude squared

2015-10-08 Thread Nathaniel Smith
Hi Phillip, My advice would be to stick with the function call. It's consistent with most other array operations (esp. when you consider that the vast majority of operations on arrays are functions defined in third party libraries like yours), and the more things we add to the core array object, t

Re: [Numpy-discussion] Should we drop support for "one file" compilation mode?

2015-10-08 Thread Charles R Harris
PR #6429 is a preliminary cut at removing single file build support. A bit of cleanup remains, mostly rearranging some defines for style. Chuck ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-d

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread David Cournapeau
On Thu, Oct 8, 2015 at 8:47 PM, Nathaniel Smith wrote: > On Oct 8, 2015 06:30, "David Cournapeau" wrote: > > > [...] > > > > Separating the pure C code into static lib is the simple way of > achieving the same goal. Essentially, you write: > > > > # implemented in npyinternal.a > > _npy_internal

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread Nathaniel Smith
On Oct 8, 2015 06:30, "David Cournapeau" wrote: > [...] > > Separating the pure C code into static lib is the simple way of achieving the same goal. Essentially, you write: > > # implemented in npyinternal.a > _npy_internal_foo() > > # implemented in merged_multiarray_umath.pyx > cdef PyArray_

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread Julian Taylor
On 10/08/2015 03:30 PM, David Cournapeau wrote: On Tue, Oct 6, 2015 at 8:04 PM, Nathaniel Smith mailto:n...@pobox.com>> wrote: On Tue, Oct 6, 2015 at 11:52 AM, David Cournapeau mailto:courn...@gmail.com>> wrote: > > > On Tue, Oct 6, 2015 at 7:30 PM, Nathaniel Smith mailt

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread David Cournapeau
On Tue, Oct 6, 2015 at 8:04 PM, Nathaniel Smith wrote: > On Tue, Oct 6, 2015 at 11:52 AM, David Cournapeau > wrote: > > > > > > On Tue, Oct 6, 2015 at 7:30 PM, Nathaniel Smith wrote: > >> > >> [splitting this off into a new thread] > >> > >> On Tue, Oct 6, 2015 at 3:00 AM, David Cournapeau > >

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread Daniele Nicolodi
Hello, sorry for replying in the wrong thread, but I don't find an appropriate message to reply to in the original one. On 08/10/15 09:10, Nathaniel Smith wrote: > Hiding symbols is the only advantage that I'm aware of, and as noted > in the other thread there do exist other solutions. Indeed, a

Re: [Numpy-discussion] reorganizing numpy internal extensions (was: Re: Should we drop support for "one file" compilation mode?)

2015-10-08 Thread Nathaniel Smith
On Tue, Oct 6, 2015 at 12:19 PM, Charles R Harris wrote: > > > On Tue, Oct 6, 2015 at 1:04 PM, Nathaniel Smith wrote: [...] >> Anyway, it sounds like we agree that the next step is to merge >> multiarray and umath, so possibly we should worry about doing that and >> then see what makes sense from