Re: [Numpy-discussion] Removal of some numpy files

2017-02-25 Thread David Cournapeau
tools/win32build is used to build the so-called superpack installers, which we don't build anymore AFAIK tools/numpy-macosx-installer is used to build the .dmg for numpy (also not used anymore AFAIK). On Sat, Feb 25, 2017 at 3:21 PM, Charles R Harris wrote: > Hi All, > > While looking through t

Re: [Numpy-discussion] Numpy 1.11.3, scipy 0.18.1, MSVC 2015 and crashes in complex functions

2017-01-23 Thread David Cournapeau
Indeed. I wrongly assumed that since gholke's wheels did not crash, they did not run into that issue. That sounds like an ABI issue, since I suspect intel math library supports C99 complex numbers. I will add info on that issue then, David On Mon, Jan 23, 2017 at 11:46 AM, Evgeni Bur

[Numpy-discussion] Numpy 1.11.3, scipy 0.18.1, MSVC 2015 and crashes in complex functions

2017-01-23 Thread David Cournapeau
. I am a bit suspicious about the whole thing as neither conda's or gholke's wheel crashed. Has anybody else encountered this ? David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] NumPy 1.12.0 release

2017-01-18 Thread David Cournapeau
binary compatibility with centos 5.X and above, though I am not sure about the impact on speed. It has been quite some time already that building numpy/scipy with gcc 4.1 causes troubles with errors and even crashes anyway, so you definitely want to use a more recent compiler in any case. David

Re: [Numpy-discussion] Dropping sourceforge for releases.

2016-10-02 Thread David Cournapeau
+1 from me. If we really need some distribution on top of github/pypi, note that bintray (https://bintray.com/) is free for OSS projects, and is a much better experience than sourceforge. David On Sun, Oct 2, 2016 at 12:02 AM, Charles R Harris wrote: > Hi All, > > Ralf has suggested

Re: [Numpy-discussion] State-of-the-art to use a C/C++ library from Python

2016-08-31 Thread David Morris
y (you can access numpy arrays directly as C arrays), very python like syntax and amazing performance. Good luck, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Added atleast_nd, request for clarification/cleanup of atleast_3d

2016-07-06 Thread David
Joseph Fox-Rabinovitz gmail.com> writes: > > On Wed, Jul 6, 2016 at 2:57 PM, Eric Firing hawaii.edu> wrote: > > On 2016/07/06 8:25 AM, Benjamin Root wrote: > >> > >> I wouldn't have the keyword be "where", as that collides with the notion > >> of "where" elsewhere in numpy. > > > > > > Agre

[Numpy-discussion] How best to turn JSON into a CSV or Pandas data frame table?

2016-06-25 Thread David Shi
Which are the best ways to turn a JSON object into a CSV or Pandas data frame table? Looking forward to hearing from you. Regards. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy

Re: [Numpy-discussion] Changing FFT cache to a bounded LRU cache

2016-06-01 Thread David Cournapeau
o in scipy, but it was a PITA to maintain. Contrary to blas/lapack, fft does not have a standard API, hence exposing a consistent API in python, including data layout involved quite a bit of work. It is better to expose those through 3rd party APIs. David > Sturla > >

[Numpy-discussion] Unable to pickle numpy array on iOS

2016-05-02 Thread David Morris
problem dumping the array. I am using NumPy v1.9.3 Any ideas on why this might be happening? Thank you, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Windows wheels, built, but should we deploy?

2016-03-04 Thread David Cournapeau
ebra. > I would not worry too much about this: at worst, this gives us back the situation where we were w/ so-called superpack, which have been successful in the past to spread numpy use on windows. My main worry is whether this locks us into ATLAS for a long time because of package dependin

Re: [Numpy-discussion] PyData Madrid

2016-02-20 Thread David Cournapeau
gt;> well as just having a talk on Numpy at a PyData conference. In general >> there are too few (if any) talks on Numpy and other core libraries at >> PyData and Scipy confs I think. >> > > +1. > > It would

Re: [Numpy-discussion] building NumPy with gcc if Python was built with icc?!?

2016-02-17 Thread David Cournapeau
what's used by distutils to build C extensions. This is only valid on Unix/cygwin, if you are on windows, the process is completely different. David > > Thanks for your help, > > Christian > > > > This email and any attachments are intended solely for the use of the &

Re: [Numpy-discussion] Should I use pip install numpy in linux?

2016-01-15 Thread David Cournapeau
uld) do, such as writing the expected metadata in site-packages (PEP 376). Currently, conda does not recognize packages installed by pip (because it does not implement PEP 376 and co), so if you do a "pip install ." of a package, it will likely break existing package if present. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Should I use pip install numpy in linux?

2016-01-11 Thread David Cournapeau
On Mon, Jan 11, 2016 at 6:25 PM, Chris Barker wrote: > On Fri, Jan 8, 2016 at 7:13 PM, Nathaniel Smith wrote: > >> > that this would potentially be able to let packages like numpy serve >> their >> > linux >> > users better without risking too much junk being uploaded to PyPI. >> >> That will ne

Re: [Numpy-discussion] Should I use pip install numpy in linux?

2016-01-09 Thread David Cournapeau
inux systems are now transitioning to C++11 which is binary > incompatible in parts to the old standard. There a lot of testing is > necessary to check if we are affected. > How does Anaconda deal with C++11? > For canopy packages, we use the RH devtoolset w/ gcc 4.8.X, and staticall

Re: [Numpy-discussion] Defining a base linux-64 environment [was: Should I use pip install numpy in linux?]

2016-01-09 Thread David Cournapeau
ubt are directly > used by the packages. > It is also a common problem when building packages without using a "clean" build environment, as it is too easy to pick up dependencies accidentally, especially for autotools-based packages (unless one uses pbuilder or similar tools). David

Re: [Numpy-discussion] Proposal: stop providing official win32 downloads (for now)

2015-12-22 Thread David Cournapeau
how many people are running 32 bit Python on Windows these > days?? > I don't claim we are representative of the whole community, but as far as canopy is concerned, it is still a significant platform. That's the only 32 bit platform we still support (both linu

Re: [Numpy-discussion] Fast vectorized arithmetic with ~32 significant digits under Numpy

2015-12-11 Thread David Cournapeau
that may has been fixed since then. David > Anne > > On Fri, Dec 11, 2015, 16:46 Charles R Harris > wrote: > >> On Fri, Dec 11, 2015 at 6:25 AM, Thomas Baruchel >> wrote: >> >>> From time to time it is asked on forums how to extend precision of >>>

Re: [Numpy-discussion] array of random numbers fails to construct

2015-12-06 Thread DAVID SAROFF (RIT Student)
andint and np.random.rand > could use an extra 'dtype' keyword. It didn't look easy to implement though. > > Allan > > On 12/06/2015 04:55 PM, DAVID SAROFF (RIT Student) wrote: > >> Matthew, >> >> That looks right. I'm concluding that the .astype

Re: [Numpy-discussion] array of random numbers fails to construct

2015-12-06 Thread DAVID SAROFF (RIT Student)
10GBy files. linearInputData = np.fromfile(dataFile, dtype = np.uint8, count = -1) spectrumArray = linearInputData.reshape(nSpectra,sizeSpectrum) On Sun, Dec 6, 2015 at 4:07 PM, Matthew Brett wrote: > Hi, > > On Sun, Dec 6, 2015 at 12:39 PM, DAVID SAROFF (RIT Student) > wrote: >

[Numpy-discussion] array of random numbers fails to construct

2015-12-06 Thread DAVID SAROFF (RIT Student)
is a factor of two, 2**21 rather than 2**20, for the extent of the first axis. -- David P. Saroff Rochester Institute of Technology 54 Lomb Memorial Dr, Rochester, NY 14623 david.sar...@mail.rit.edu | (434) 227-6242 ___ NumPy-Discussion mailing list NumPy

Re: [Numpy-discussion] f2py, numpy.distutils and multiple Fortran source files

2015-12-05 Thread David Verelst
Thanks a lot for providing the example Sturla, that is exactly what we are looking for! On 4 December 2015 at 11:34, Sturla Molden wrote: > On 03/12/15 22:07, David Verelst wrote: > > Can this workflow be incorporated into |setuptools|/|numpy.distutils|? >> Something alo

Re: [Numpy-discussion] When to stop supporting Python 2.6?

2015-12-04 Thread David Cournapeau
On Fri, Dec 4, 2015 at 11:06 AM, Nathaniel Smith wrote: > On Fri, Dec 4, 2015 at 1:27 AM, David Cournapeau > wrote: > > I would be in favour of dropping 3.3, but not 2.6 until it becomes too > > cumbersome to support. > > > > As a data point, as of april, 2.6 was m

Re: [Numpy-discussion] When to stop supporting Python 2.6?

2015-12-04 Thread David Cournapeau
I would be in favour of dropping 3.3, but not 2.6 until it becomes too cumbersome to support. As a data point, as of april, 2.6 was more downloaded than all python 3.X versions together when looking at pypi numbers: https://caremad.io/2015/04/a-year-of-pypi-downloads/ David On Thu, Dec 3, 2015

[Numpy-discussion] f2py, numpy.distutils and multiple Fortran source files

2015-12-03 Thread David Verelst
pywafo/blob/pipinstall/setup.py [3] http://docs.scipy.org/doc/numpy/reference/distutils.html Regards, David ​ ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] future of f2py and Fortran90+

2015-12-03 Thread David Verelst
f90wrap [1] extends the functionality of f2py, and can automatically generate sensible wrappers for certain cases. [1] https://github.com/jameskermode/f90wrap On 15 July 2015 at 03:45, Sturla Molden wrote: > Eric Firing wrote: > > > I'm curious: has anyone been looking into what it would take t

Re: [Numpy-discussion] Question about structure arrays

2015-11-09 Thread David Morris
king into structured arrays. In case it is relevant: Are you using certain 1.10? They are apparently a LOT slower than 1.9.3, an issue which will be fixed in a future version. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead

2015-10-27 Thread David Cournapeau
s. You will need a way to install things when building a conda package in any case David > Is there any particular reason for not using it? > > On Tue, Oct 27, 2015 at 11:48 AM, James E.H. Turner > wrote: > >> Apparently it is not well known that if you have a Python project

Re: [Numpy-discussion] Numpy 1.10.1 released.

2015-10-14 Thread David Cournapeau
ds, but for us at Enthought, windows 32 bits is in the same ballpark as OS X and Linux (64 bits) in terms of proportion, windows 64 bits being significantly more popular. Linux 32 bits and OS X 32 bits have been in the 1 % range each of our downloads for a while (we recently stopped support for bo

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: &

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] > >> &g

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

2015-10-06 Thread David Cournapeau
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 > wrote: > [...] > > I also agree the current situation is not sustainable -- as we discussed > > privately before, cyt

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 6:18 PM, David Cournapeau wrote: > > > On Tue, Oct 6, 2015 at 6:14 PM, Nathaniel Smith wrote: > >> On Tue, Oct 6, 2015 at 10:10 AM, David Cournapeau >> wrote: >> > >> > >> > On Tue, Oct 6, 2015 at 6:07 PM, Nathaniel Smi

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 6:14 PM, Nathaniel Smith wrote: > On Tue, Oct 6, 2015 at 10:10 AM, David Cournapeau > wrote: > > > > > > On Tue, Oct 6, 2015 at 6:07 PM, Nathaniel Smith wrote: > >> > >> On Tue, Oct 6, 2015 at 10:00 AM, Antoine Pitrou > >&

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

2015-10-06 Thread David Cournapeau
has worked fairly well and has been used in at least scipy since the 1.4/1.5 days IIRC (including windows). David > > > And, of course, we would also benefit from the CBLAS functions (or any > > kind of C wrappers around them) :-) > > https://github.com/numpy/numpy/issues/63

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 5:58 PM, Nathaniel Smith wrote: > On Tue, Oct 6, 2015 at 9:51 AM, David Cournapeau > wrote: > > > > On Tue, Oct 6, 2015 at 5:44 PM, Nathaniel Smith wrote: > >> > >> On Tue, Oct 6, 2015 at 4:46 AM, David Cournapeau > >> wro

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 5:51 PM, David Cournapeau wrote: > > > On Tue, Oct 6, 2015 at 5:44 PM, Nathaniel Smith wrote: > >> On Tue, Oct 6, 2015 at 4:46 AM, David Cournapeau >> wrote: >> > The npy_ functions in npymath were designed to be exported. Those would &

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 5:44 PM, Nathaniel Smith wrote: > On Tue, Oct 6, 2015 at 4:46 AM, David Cournapeau > wrote: > > The npy_ functions in npymath were designed to be exported. Those would > stay > > that way. > > If we want to export these then I vote that we ei

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

2015-10-06 Thread David Cournapeau
On Tue, Oct 6, 2015 at 12:07 PM, Antoine Pitrou wrote: > On Tue, 6 Oct 2015 11:00:30 +0100 > David Cournapeau wrote: > > > > Assuming one of the rumour is related to some comments I made some time > > (years ?) earlier, the context was the ability to hide exported sy

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

2015-10-06 Thread David Cournapeau
ommon functionalities (aka the 'core' library) into its own static library. The API would be considered private to numpy (no stability guaranteed outside numpy), and every exported symbol from that library would be decorated appropriately to avoid potential clashes (e.g. '_npy_i

Re: [Numpy-discussion] composition of the steering council (was Re: Governance model request)

2015-09-24 Thread David Cournapeau
cannot fully, nor do you > have to, I will let it stand as is after this and let others take over > from here (after this, probably whatever Chuck says is good). [1] > > More to the point of the actual members: > > So to say, I feel the council members have to try to be *directly

Re: [Numpy-discussion] draft NEP for breaking ufunc ABI in a controlled way

2015-09-22 Thread David Cournapeau
onsider along the way is separating numpy.multiarray > and friends into an actual library plus a module. That way the new numpy > api would be exposed in the library rather than by importing an array of > pointers from the module. > Agreed. This would help the cythonizing process a

Re: [Numpy-discussion] Governance model request

2015-09-21 Thread David Cournapeau
iculable, concrete points > of concern? Otherwise this just seems like idle, non-constructive > speculation (at best). > There is ample history of such things happening in OSS history, so I think that's a fair concern, even if that has not happened for numpy yet. David __

[Numpy-discussion] Compiling NumPy for iOS PyQt app?

2015-09-20 Thread David Morris
a python with all libraries static linked. Here is the environment: iOS 8.0+ Python 3.4 PyQt 5.5 Qt 5.5 pyqtdeploy Any help getting NumPy compiled into the iOS app? Thank you, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https

Re: [Numpy-discussion] OK to upload patched 1.9.2 for Python 3.5?

2015-09-14 Thread David Cournapeau
e sources for a given tag is confusing. David > > Cheers, > > Matthew > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _

Re: [Numpy-discussion] Cythonizing some of NumPy

2015-09-01 Thread David Cournapeau
On Tue, Sep 1, 2015 at 8:16 AM, Nathaniel Smith wrote: > On Sun, Aug 30, 2015 at 2:44 PM, David Cournapeau > wrote: > > Hi there, > > > > Reading Nathaniel summary from the numpy dev meeting, it looks like > there is > > a consensus on using cython in

[Numpy-discussion] Cythonizing some of NumPy

2015-08-30 Thread David Cournapeau
e are < 60 methods in the table, and most of them should be fairly straightforward to cythonize. At worse, we could just keep them as is outside cython and just "export" them in cython. Does that sound like an acceptable plan ? If so, I will star

Re: [Numpy-discussion] Notes from the numpy dev meeting at scipy 2015

2015-08-25 Thread David Cournapeau
team to improve this ? Or was that considered acceptable with current cython for numpy. I am convinced cleanly separating the low level parts from the python C API plumbing would be the single most important thing one could do to make the codebase more amenable. David On Tue, Aug 25, 2015 at 9

Re: [Numpy-discussion] Proposal to remove the Bento build.

2015-08-19 Thread David Cournapeau
On Wed, Aug 19, 2015 at 1:22 AM, Nathaniel Smith wrote: > On Tue, Aug 18, 2015 at 4:15 PM, David Cournapeau > wrote: > > If everybody wants to remove bento, we should remove it. > > FWIW, I don't really have an opinion either way on bento versus > distutils, I j

Re: [Numpy-discussion] Proposal to remove the Bento build.

2015-08-18 Thread David Cournapeau
end ? David On Tue, Aug 18, 2015 at 9:07 PM, Charles R Harris wrote: > Hi All, > . > I'm bringing up this topic again on account of the discussion at > https://github.com/numpy/numpy/pull/6199. The proposal is to stop > (trying) to support the Bento build system for Numpy

Re: [Numpy-discussion] Numpy-vendor vcvarsall.bat problem.

2015-08-07 Thread David Cournapeau
Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Thu, Aug 6, 2015 at 4:22 PM, David Cournapeau >> wrote: >> >>> Sorry if that's obvious, but do you have Visual Studio 2010 installed ? >>> >>> On Th

Re: [Numpy-discussion] Numpy-vendor vcvarsall.bat problem.

2015-08-06 Thread David Cournapeau
Sorry if that's obvious, but do you have Visual Studio 2010 installed ? On Thu, Aug 6, 2015 at 11:17 PM, Charles R Harris wrote: > Anyone know how to fix this? I've run into it before and never got it > figured out. > > [192.168.121.189:22] out: File > "C:\Python34\lib\distutils\msvc9compiler.

Re: [Numpy-discussion] Verify your sourceforge windows installer downloads

2015-05-28 Thread David Cournapeau
In any case I've always been surprised that NumPy is distributed > through SourceForge, which has been sketchy for years now. Could it > simply be hosted on PyPI? > They don't accept arbitrary binaries like SF does, and some of our installer formats can't be uploade

Re: [Numpy-discussion] Verify your sourceforge windows installer downloads

2015-05-28 Thread David Cournapeau
IMO, this really begs the question on whether we still want to use sourceforge at all. At this point I just don't trust the service at all anymore. Could we use some resources (e.g. rackspace ?) to host those files ? Do we know how much traffic they get so estimate the cost ? David On Thu

Re: [Numpy-discussion] np.diag(np.dot(A, B))

2015-05-22 Thread David Cournapeau
A is C-style and B fortran-style. > Does your implementation use BLAS, or is just a a wrapper around einsum ? David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] NPY_SEPARATE_COMPILATION and RELAXED_STRIDES_CHECKING

2015-04-05 Thread David Cournapeau
on how much it lets us simplify things, I guess. Would we get to > remove all the no-export attributes on everything? > No, the whole point of the no-export is to support the separate compilation use case. David > On Apr 3, 2015 8:01 PM, "Charles R Harris" > wrote: > >

Re: [Numpy-discussion] IDE's for numpy development?

2015-04-02 Thread David Cournapeau
> I concur on that: For the 350+ packages we support at Enthought, cmake has been a higher pain point than any other build tool (that is including custom ones). And we only support mainstream platforms. But the real question for me is what does visual studio support mean ? Does it really mean solution files ? David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] PyCon?

2015-02-17 Thread David Cournapeau
I'll be there as well, though I am still figuring out when exactly . On Wed, Feb 18, 2015 at 1:07 AM, Nathaniel Smith wrote: > Hi all, > > It looks like I'll be at PyCon this year. Anyone else? Any interest in > organizing a numpy sprint? > > -n > > -- > Nathaniel J. Smith -- http://vorpus.org >

Re: [Numpy-discussion] advanced indexing question

2015-02-04 Thread David Kershaw
Sebastian Berg sipsolutions.net> writes: > > Python has a mechanism both for getting an item and for setting an item. > The latter will end up doing this (python already does this for us): > x[:,d,:,d] = x[:,d,:,d] + 1 > so there is an item assignment going on (__setitem__ not __getitem__) > > -

[Numpy-discussion] advanced indexing question

2015-02-03 Thread David Kershaw
copy? Thanks, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] missing FloatingPointError for numpy on cygwin64

2015-01-31 Thread David Cournapeau
://github.com/numpy/numpy/blob/master/numpy/core/setup.py#L638 David On Sat, Jan 31, 2015 at 9:53 PM, Sebastien Gouezel < sebastien.goue...@univ-rennes1.fr> wrote: > Dear all, > > I tried to use numpy (version 1.9.1, installed by `pip install numpy`) > on cygwin64. I encount

Re: [Numpy-discussion] npymath on Windows

2014-12-28 Thread David Cournapeau
Visual Studio C, but this give undefined symbols from 'libnpymath.a' > like this: > This is not really supported. You should avoid mixing compilers when building C extensions using numpy C API. Either all mingw, or all MSVC. David > > npymath.lib(npy_math.o) : error LNK2

Re: [Numpy-discussion] [SciPy-Dev] ANN: Scipy 0.14.1 release candidate 1

2014-12-19 Thread David Cournapeau
/ similar results. Thanks for all the hard work, David On Sun, Dec 14, 2014 at 10:29 PM, Pauli Virtanen wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dear all, > > We have finished preparing the Scipy 0.14.1 release candidate 1. > If no regressions turn

Re: [Numpy-discussion] GDB macros for numpy

2014-11-30 Thread David Cournapeau
On Sun, Nov 30, 2014 at 5:45 PM, Charles R Harris wrote: > > > On Sun, Nov 30, 2014 at 4:54 AM, David Cournapeau > wrote: > >> Hi there, >> >> I remember having seen some numpy-aware gdb macros at some point, but >> cannot find any reference. Does anyon

[Numpy-discussion] GDB macros for numpy

2014-11-30 Thread David Cournapeau
Hi there, I remember having seen some numpy-aware gdb macros at some point, but cannot find any reference. Does anyone know of any ? David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy

Re: [Numpy-discussion] Setting up a "newcomers" label on the issue tracker ?

2014-11-26 Thread David Cournapeau
oups, I missed it. Will use that one then. On Wed, Nov 26, 2014 at 9:01 AM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 11/26/2014 09:44 AM, David Cournapeau wrote: > > Hi, > > > > Would anybody mind if I create a label "newcomers" on GH,

[Numpy-discussion] Setting up a "newcomers" label on the issue tracker ?

2014-11-26 Thread David Cournapeau
Hi, Would anybody mind if I create a label "newcomers" on GH, and start labelling simple issues ? This is in anticipation to the bloomberg lab event in London this WE. I will try to give a hand to people interested in numpy/scipy, David ___

Re: [Numpy-discussion] Scipy 0.15.0 beta 1 release

2014-11-25 Thread David Cournapeau
On Tue, Nov 25, 2014 at 6:10 PM, Sturla Molden wrote: > David Cournapeau wrote: > > Shall we consider > href="https://github.com/scipy/scipy/issues/4168";> > https://github.com/scipy/scipy/issues/4168 > > to be a > > blocker (the issue arises on scipy m

Re: [Numpy-discussion] ANN: Scipy 0.15.0 beta 1 release

2014-11-25 Thread David Cournapeau
Shall we consider https://github.com/scipy/scipy/issues/4168 to be a blocker (the issue arises on scipy master as well as 0.14.1) ? On Sun, Nov 23, 2014 at 11:13 PM, Pauli Virtanen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Dear all, > > We have finally finished preparing the S

Re: [Numpy-discussion] Numpy 1.9.1, zeros and alignement

2014-11-18 Thread David Cournapeau
on't see the issues with f2py not being able to I am starting to think I got on the wrong track regarding the original issue I see with scipy 0.14.x on win 32 bits... I will create a separate ticket for that. David ___ NumPy-Discussion

Re: [Numpy-discussion] Numpy 1.9.1, zeros and alignement

2014-11-18 Thread David Cournapeau
y 1.8.1 always returned 16 bytes aligned arrays in this case (unlikely to be a coincidence, as I try quite a few times with different sizes). > > is the array aligned? > > On 18.11.2014 19:37, David Cournapeau wrote: > > Additional point: it seems to always return aligned data on

Re: [Numpy-discussion] Numpy 1.9.1, zeros and alignement

2014-11-18 Thread David Cournapeau
Additional point: it seems to always return aligned data on 1.8.1 (same platform/compiler/everything). On Tue, Nov 18, 2014 at 6:35 PM, David Cournapeau wrote: > It is on windows 32 bits, but I would need to make this work for complex > (pair of double) as well. > > Is this a bug

Re: [Numpy-discussion] Numpy 1.9.1, zeros and alignement

2014-11-18 Thread David Cournapeau
). (the context is > 100 test failures on scipy 0.14.x on top of numpy 1.9., because f2py intent(inout) fails on work arrays created by zeros, this is a windows-32 only failure). David On Tue, Nov 18, 2014 at 6:26 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 18.11.2014

[Numpy-discussion] Numpy 1.9.1, zeros and alignement

2014-11-18 Thread David Cournapeau
Hi, I have not followed closely the changes that happen in 1.9.1, but was surprised by the following: x = np.zeros(12, "d") assert x.flags.aligned # fails This is running numpy 1.9.1 built on windows with VS 2008. Is it expected that zeros may return a non-aligned arra

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-10-29 Thread David Cournapeau
gt; interface, rather than having us debate which fft library is 'best'. > I would agree if it were not already there, but removing it (like Blas/Lapack) is out of the question for backward compatibility reason. Too much code depends on it. David > > On Tue, Oct 28, 2014 at

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-10-28 Thread David Cournapeau
On Tue, Oct 28, 2014 at 3:06 PM, David Cournapeau wrote: > I > > On Tue, Oct 28, 2014 at 2:31 PM, Nathaniel Smith wrote: > >> On 28 Oct 2014 07:32, "Jerome Kieffer" wrote: >> > >> > On Tue, 28 Oct 2014 04:28:37 + >> > Nathaniel Smi

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-10-28 Thread David Cournapeau
t the Bluestein transform to deal with prime/near-prime numbers on top of FFTS. I did not look much, but it did not obviously support building on windows as well ? David > -n > > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy

Re: [Numpy-discussion] FFTS for numpy's FFTs (was: Re: Choosing between NumPy and SciPy functions)

2014-10-28 Thread David Cournapeau
thing missing from fftpack is the handling of transform sizes that > are not products of 2,3,4,5. > Strickly speaking, it is handled, just not through an FFT (it goes back to the brute force O(N**2)). I made some experiments with the Bluestein tr

Re: [Numpy-discussion] Choosing between NumPy and SciPy functions

2014-10-27 Thread David Cournapeau
MKL, Accelerate, etc... all use a standard API (BLAS/LAPACK), but for FFT, you need to reimplement pretty much the whole thing. Unsurprisingly, this meant the code was not well maintained. Wrapping non standard, non-BSD libraries makes much more sense in separate libraries in general. David >

Re: [Numpy-discussion] npy_log2 undefined on Linux

2014-10-25 Thread David Cournapeau
Not exactly: if you build numpy with mingw (as is the official binary), you need to build everything that uses numpy C API with it. On Sun, Oct 26, 2014 at 1:22 AM, Matthew Brett wrote: > On Sat, Oct 25, 2014 at 2:15 PM, Matthew Brett > wrote: > > On Fri, Oct 24, 2014 at 6:04 PM, Matthew Brett

Re: [Numpy-discussion] Custom dtypes without C -- or, a standard ndarray-like type

2014-09-23 Thread David Cournapeau
ew dtype: numpy hardcodes that long double is the highest precision floating point type, for example, and there were similar issues regarding datetime handling. Does not matter for completely new types that don't require interactions with others (categorical ?). Would it help to prepare a set of

Re: [Numpy-discussion] How to install numpy on a box without hardware FPU

2014-09-02 Thread David Cournapeau
you can go, and come back to this group with the result of your investigation. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Help - numpy / scipy binary compatibility

2014-08-08 Thread David Cournapeau
sage is not bogus, I would try import von_mises with a venv containing numpy 1.5.1, then 1.6.0, etc... to detect when the change happened. David > Cheers, > > Matthew > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org >

Re: [Numpy-discussion] Remove numpy/compat/_inspect.py ?

2014-08-01 Thread David Cournapeau
On Sat, Aug 2, 2014 at 11:36 AM, Charles R Harris wrote: > > > > On Fri, Aug 1, 2014 at 8:22 PM, David Cournapeau > wrote: > >> >> >> >> On Sat, Aug 2, 2014 at 11:17 AM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >

Re: [Numpy-discussion] Remove numpy/compat/_inspect.py ?

2014-08-01 Thread David Cournapeau
On Sat, Aug 2, 2014 at 11:17 AM, Charles R Harris wrote: > > > > On Fri, Aug 1, 2014 at 8:01 PM, David Cournapeau > wrote: > >> On my machine, if I use inspect instead of _inspect in >> numpy.compat.__init__, the import time increases ~ 25 % (from 82 ms to 99 >&

Re: [Numpy-discussion] Remove numpy/compat/_inspect.py ?

2014-08-01 Thread David Cournapeau
e was bundled for). David On Sat, Aug 2, 2014 at 5:11 AM, David Cournapeau wrote: > > > > On Fri, Aug 1, 2014 at 11:23 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> >> On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern >> wro

Re: [Numpy-discussion] Remove numpy/compat/_inspect.py ?

2014-08-01 Thread David Cournapeau
they are >> used if you feel compelled to. Please do not replace the current uses >> of `_inspect` with `inspect`. >> > > It is used in just one place. Is importing inspect so much slower than all > the other imports we do? > Yes, please look at the thread I referred to. The custom inspect cut imports by 30 %, I doubt the ratio is much different today. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Remove numpy/compat/_inspect.py ?

2014-07-31 Thread David Cournapeau
The docstring at the beginning of the module is still relevant AFAIK: it was about decreasing import times. See http://mail.scipy.org/pipermail/numpy-discussion/2009-October/045981.html On Fri, Aug 1, 2014 at 10:27 AM, Charles R Harris wrote: > Hi All, > > The _inspect.py function looks like a

Re: [Numpy-discussion] Remove bento from numpy

2014-07-06 Thread David Cournapeau
On Sun, Jul 6, 2014 at 2:24 AM, Julian Taylor wrote: > On 05.07.2014 19:11, David Cournapeau wrote: > > On Sun, Jul 6, 2014 at 1:55 AM, Julian Taylor > > mailto:jtaylor.deb...@googlemail.com>> > > wrote: > > > > On 05.07.2014 18:40, David Cournap

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sun, Jul 6, 2014 at 2:24 AM, Julian Taylor wrote: > On 05.07.2014 19:11, David Cournapeau wrote: > > On Sun, Jul 6, 2014 at 1:55 AM, Julian Taylor > > mailto:jtaylor.deb...@googlemail.com>> > > wrote: > > > > On 05.07.2014 18:40, David Cournap

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sun, Jul 6, 2014 at 1:55 AM, Julian Taylor wrote: > On 05.07.2014 18:40, David Cournapeau wrote: > > The efforts are on average less demanding than this discussion. We are > > talking about adding entries to a list in most cases... > > > > Also, while adding the opt

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
OS X + clang. David On Sun, Jul 6, 2014 at 1:38 AM, Nathaniel Smith wrote: > On Sat, Jul 5, 2014 at 3:21 PM, David Cournapeau > wrote: > > > > On Sat, Jul 5, 2014 at 11:17 PM, Nathaniel Smith wrote: > >> > >> Maybe bento will revive and take over the new pyth

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sat, Jul 5, 2014 at 11:51 PM, Charles R Harris wrote: > > > > On Sat, Jul 5, 2014 at 8:28 AM, Matthew Brett > wrote: > >> On Sat, Jul 5, 2014 at 3:21 PM, David Cournapeau >> wrote: >> > >> > >> > >> > On Sat, Jul 5, 2014 at

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sat, Jul 5, 2014 at 11:17 PM, Nathaniel Smith wrote: > On Sat, Jul 5, 2014 at 2:32 PM, Ralf Gommers > wrote: > > > > On Sat, Jul 5, 2014 at 1:54 PM, Nathaniel Smith wrote: > >> > >> On 5 Jul 2014 09:23, "Ralf Gommers" wrote: > >> >

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sat, Jul 5, 2014 at 5:23 PM, Ralf Gommers wrote: > > > > On Sat, Jul 5, 2014 at 10:13 AM, David Cournapeau > wrote: > >> >> >> >> On Sat, Jul 5, 2014 at 11:25 AM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >>&

Re: [Numpy-discussion] Remove bento from numpy

2014-07-05 Thread David Cournapeau
On Sat, Jul 5, 2014 at 11:25 AM, Charles R Harris wrote: > Ralf likes the speed of bento, but it is not currently maintained > What exactly is not maintained ? David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.sci

Re: [Numpy-discussion] big-bangs versus incremental improvements (was: Re: SciPy 2014 BoF NumPy Participation)

2014-06-06 Thread David Cournapeau
On Thu, Jun 5, 2014 at 11:48 PM, Nathaniel Smith wrote: > On Thu, Jun 5, 2014 at 3:24 PM, David Cournapeau > wrote: > > On Thu, Jun 5, 2014 at 2:51 PM, Charles R Harris < > charlesr.har...@gmail.com> > > wrote: > >> On Thu, Jun 5, 2014 at 6:40 AM, David Cou

Re: [Numpy-discussion] big-bangs versus incremental improvements (was: Re: SciPy 2014 BoF NumPy Participation)

2014-06-06 Thread David Cournapeau
ile", (d) is a change that's worth the bother (this > determination to include at least canvassing the list to check that > users in general agree that it's worth it), then yeah we should do it. > I don't anticipate that this will happen very often given how far > we've gotten without it, but yeah. > Changing the ABI 'safely' (i.e. raise a python exception if changed) is already handled in numpy. We can always increase the ABI version if we think it is worth it David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] big-bangs versus incremental improvements (was: Re: SciPy 2014 BoF NumPy Participation)

2014-06-05 Thread David Cournapeau
On Thu, Jun 5, 2014 at 2:51 PM, Charles R Harris wrote: > > > > On Thu, Jun 5, 2014 at 6:40 AM, David Cournapeau > wrote: > >> >> >> >> On Thu, Jun 5, 2014 at 3:36 AM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >

  1   2   3   4   5   6   7   8   9   10   >