On Mon, Nov 16, 2009 at 18:39, Christopher Barker wrote:
> Robert Kern wrote:
>>> Is there a way to avoid importing everything when importing a module
>>> deep in a big package?
>>
>> The package authors need to keep the __init__.py files clear. There is
>> nothing you can do as a user.
>
> I figu
Anne Archibald wrote:
> The reason numpy and scipy don't do this is largely historical -
> Numeric had a nearly flat namespace,
I know. Despite namespaces being "one honking great idea", it seems to
have taken a while to catch on.
> Since spatial is new, though, it should be pretty good about n
Robert Kern wrote:
>> Is there a way to avoid importing everything when importing a module
>> deep in a big package?
>
> The package authors need to keep the __init__.py files clear. There is
> nothing you can do as a user.
I figured. so, to bring this back on-topic:
I recommend that no package
2009/11/16 Robert Kern :
> On Mon, Nov 16, 2009 at 18:05, Christopher Barker
> wrote:
>> Charles R Harris wrote:
>>> That's what I ended up doing. You still need to do "import
>>> numpy.polynomial" to get to them, they aren't automatically imported
>>> into the numpy namespace.
>>
>> good start.
On Mon, Nov 16, 2009 at 18:05, Christopher Barker wrote:
> Charles R Harris wrote:
>> That's what I ended up doing. You still need to do "import
>> numpy.polynomial" to get to them, they aren't automatically imported
>> into the numpy namespace.
>
> good start. This brings up a semi-off-topic ques
Charles R Harris wrote:
> That's what I ended up doing. You still need to do "import
> numpy.polynomial" to get to them, they aren't automatically imported
> into the numpy namespace.
good start. This brings up a semi-off-topic question:
Is there a way to avoid importing everything when importi
On Mon, Nov 16, 2009 at 3:06 PM, Anne Archibald
wrote:
> 2009/11/16 Christopher Barker :
> > Charles R Harris wrote:
> >> I would like some advise on the best way to add the new functions. I've
> >> added a new package polynomial, and that package contains four new
> >> modules: chebyshev, polynom
2009/11/16 Christopher Barker :
> Charles R Harris wrote:
>> I would like some advise on the best way to add the new functions. I've
>> added a new package polynomial, and that package contains four new
>> modules: chebyshev, polynomial, polytemplate, polyutils.
>
> This seems to belong more in sci
On Mon, Nov 16, 2009 at 10:43 AM, Christopher Barker
wrote:
> Charles R Harris wrote:
> > I would like some advise on the best way to add the new functions. I've
> > added a new package polynomial, and that package contains four new
> > modules: chebyshev, polynomial, polytemplate, polyutils.
>
>
Charles R Harris wrote:
> I would like some advise on the best way to add the new functions. I've
> added a new package polynomial, and that package contains four new
> modules: chebyshev, polynomial, polytemplate, polyutils.
This seems to belong more in scipy than numpy, but I'll leave that to
Hi All,
I would like some advise on the best way to add the new functions. I've
added a new package polynomial, and that package contains four new modules:
chebyshev, polynomial, polytemplate, polyutils. The question is whether or
not to include all of the functions in these packages in the __init
11 matches
Mail list logo