Re: [Numpy-discussion] Lazy imports again

2012-07-18 Thread Friedrich Romstedt
A.S.: Some forewords, below the first paragraphs are annotated after I got to the conclusion at the end of the email; read these annotation in square brackets as if it were footnotes. The main point to grasp and keep in mind for me was, when it comes to package hierarchies, that "import package.

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread Chris Barker
On Mon, Jul 16, 2012 at 8:37 PM, Travis Oliphant wrote: >--- systems that try to "freeze" Python programs were > particularly annoyed at SciPy's lazy import mechanism. That's ironic to me -- while the solution to a lot of "freezing" problems is to include everything including the kitchen sink --

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread Chris Barker
On Mon, Jul 16, 2012 at 2:50 PM, Ralf Gommers wrote: >> Working lazy imports would be useful to have. Ralf is opposed to the idea > Note that my being opposed is because the benefits are smaller than the > cost. If there was a better reason than shaving a couple of extra ms off the > import time

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread David Cournapeau
On Tue, Jul 17, 2012 at 1:13 PM, Charles R Harris wrote: > > > On Tue, Jul 17, 2012 at 1:31 AM, David Cournapeau > wrote: >> >> On Mon, Jul 16, 2012 at 5:28 PM, Charles R Harris >> wrote: >> > Hi All, >> > >> > Working lazy imports would be useful to have. Ralf is opposed to the >> > idea >> > b

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread Charles R Harris
On Tue, Jul 17, 2012 at 1:31 AM, David Cournapeau wrote: > On Mon, Jul 16, 2012 at 5:28 PM, Charles R Harris > wrote: > > Hi All, > > > > Working lazy imports would be useful to have. Ralf is opposed to the idea > > because it caused all sorts of problems on different platforms when it > was > >

Re: [Numpy-discussion] Lazy imports again

2012-07-17 Thread David Cournapeau
On Mon, Jul 16, 2012 at 5:28 PM, Charles R Harris wrote: > Hi All, > > Working lazy imports would be useful to have. Ralf is opposed to the idea > because it caused all sorts of problems on different platforms when it was > tried in scipy. I thought I'd open the topic for discussion so that folks

Re: [Numpy-discussion] Lazy imports again

2012-07-16 Thread Travis Oliphant
On Jul 16, 2012, at 4:50 PM, Ralf Gommers wrote: > > > On Mon, Jul 16, 2012 at 6:28 PM, Charles R Harris > wrote: > Hi All, > > Working lazy imports would be useful to have. Ralf is opposed to the idea > because it caused all sorts of problems on different platforms when it was > tried in

Re: [Numpy-discussion] Lazy imports again

2012-07-16 Thread Ralf Gommers
On Mon, Jul 16, 2012 at 6:28 PM, Charles R Harris wrote: > Hi All, > > Working lazy imports would be useful to have. Ralf is opposed to the idea > because it caused all sorts of problems on different platforms when it was > tried in scipy. Note that my being opposed is because the benefits are

Re: [Numpy-discussion] Lazy imports again

2012-07-16 Thread Gael Varoquaux
On Mon, Jul 16, 2012 at 10:28:19AM -0600, Charles R Harris wrote: >Working lazy imports would be useful to have. Ralf is opposed to the idea >because it caused all sorts of problems on different platforms when it was >tried in scipy. I thought I'd open the topic for discussion so that f

[Numpy-discussion] Lazy imports again

2012-07-16 Thread Charles R Harris
Hi All, Working lazy imports would be useful to have. Ralf is opposed to the idea because it caused all sorts of problems on different platforms when it was tried in scipy. I thought I'd open the topic for discussion so that folks who had various problems/solutions could offer input and the common