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: >> >>> >>> >>> >>> On Fri, Aug 1, 2014 at 8:01 PM, David Cournapeau >

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

2014-08-01 Thread Charles R Harris
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: > >> >> >> >> On Fri, Aug 1, 2014 at 8:01 PM, David Cournapeau >> wrote: >> >>> On my machine, if I use inspect instead of _inspect in >>> numpy

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 >> ms). >> >> So the hack certainly

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

2014-08-01 Thread Charles R Harris
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 > ms). > > So the hack certainly still make sense, one just need to fix whatever > needs fixing (I am still

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

2014-08-01 Thread David Cournapeau
On my machine, if I use inspect instead of _inspect in numpy.compat.__init__, the import time increases ~ 25 % (from 82 ms to 99 ms). So the hack certainly still make sense, one just need to fix whatever needs fixing (I am still not sure what's broken for the very specific usecase that code was bu

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

2014-08-01 Thread David Cournapeau
On Fri, Aug 1, 2014 at 11:23 PM, Charles R Harris wrote: > > > > On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern wrote: > >> On Fri, Aug 1, 2014 at 2:54 PM, Charles R Harris >> wrote: >> >> > Importing inspect looks to take about 500 ns on my machine. Although >> It is >> > hard to be exact, as I

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

2014-08-01 Thread Charles R Harris
On Fri, Aug 1, 2014 at 9:29 AM, Robert Kern wrote: > On Fri, Aug 1, 2014 at 4:23 PM, Charles R Harris > wrote: > > > > On Fri, Aug 1, 2014 at 8:29 AM, Robert Kern > wrote: > >> > >> On Fri, Aug 1, 2014 at 3:23 PM, Charles R Harris > >> wrote: > >> > > >> > On Fri, Aug 1, 2014 at 7:59 AM, Rober

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

2014-08-01 Thread Robert Kern
On Fri, Aug 1, 2014 at 4:23 PM, Charles R Harris wrote: > > On Fri, Aug 1, 2014 at 8:29 AM, Robert Kern wrote: >> >> On Fri, Aug 1, 2014 at 3:23 PM, Charles R Harris >> wrote: >> > >> > On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern >> > wrote: >> >> >> >> On Fri, Aug 1, 2014 at 2:54 PM, Charles R

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

2014-08-01 Thread Charles R Harris
On Fri, Aug 1, 2014 at 8:29 AM, Robert Kern wrote: > On Fri, Aug 1, 2014 at 3:23 PM, Charles R Harris > wrote: > > > > On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern > wrote: > >> > >> On Fri, Aug 1, 2014 at 2:54 PM, Charles R Harris > >> wrote: > >> > >> > Importing inspect looks to take about

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

2014-08-01 Thread Robert Kern
On Fri, Aug 1, 2014 at 3:23 PM, Charles R Harris wrote: > > On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern wrote: >> >> On Fri, Aug 1, 2014 at 2:54 PM, Charles R Harris >> wrote: >> >> > Importing inspect looks to take about 500 ns on my machine. Although It >> > is >> > hard to be exact, as I sus

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

2014-08-01 Thread Charles R Harris
On Fri, Aug 1, 2014 at 7:59 AM, Robert Kern wrote: > On Fri, Aug 1, 2014 at 2:54 PM, Charles R Harris > wrote: > > > Importing inspect looks to take about 500 ns on my machine. Although It > is > > hard to be exact, as I suspect the file is sitting in the file cache. > Would > > probably be slo

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

2014-08-01 Thread Robert Kern
On Fri, Aug 1, 2014 at 2:54 PM, Charles R Harris wrote: > Importing inspect looks to take about 500 ns on my machine. Although It is > hard to be exact, as I suspect the file is sitting in the file cache. Would > probably be slower with hard disks. Or where site-packages is on NFS. > But as th

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

2014-08-01 Thread Charles R Harris
On Fri, Aug 1, 2014 at 7:03 AM, Charles R Harris wrote: > > > > On Fri, Aug 1, 2014 at 6:37 AM, Robert Kern wrote: > >> On Fri, Aug 1, 2014 at 12:57 PM, Charles R Harris >> wrote: >> > >> > On Thu, Jul 31, 2014 at 11:46 PM, David Cournapeau >> > wrote: >> >> >> >> The docstring at the beginnin

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

2014-08-01 Thread Charles R Harris
On Fri, Aug 1, 2014 at 6:37 AM, Robert Kern wrote: > On Fri, Aug 1, 2014 at 12:57 PM, Charles R Harris > wrote: > > > > On Thu, Jul 31, 2014 at 11:46 PM, David Cournapeau > > wrote: > >> > >> The docstring at the beginning of the module is still relevant AFAIK: it > >> was about decreasing impo

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

2014-08-01 Thread Robert Kern
On Fri, Aug 1, 2014 at 12:57 PM, Charles R Harris wrote: > > On Thu, Jul 31, 2014 at 11:46 PM, David Cournapeau > wrote: >> >> 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/200

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

2014-08-01 Thread Charles R Harris
On Thu, Jul 31, 2014 at 11:46 PM, David Cournapeau wrote: > 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

Re: [Numpy-discussion] OSX wheels for older numpy versions on pypi

2014-08-01 Thread Olivier Grisel
2014-07-31 22:40 GMT+02:00 Matthew Brett : > > Sure, I built and uploaded: > > scipy-0.12.0 py27 > scipy-0.13.0 py27, 33, 34 > > Are there any others you need? Thanks, this is already great. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ___