[[Import-sig] RFC: an import "concentrator" __init__.py]
M.-A. Lemburg
mal@lemburg.com
Tue, 14 Mar 2000 11:20:53 +0100
Peter Funk wrote:
>
> Hi!
>
> Niki Spahiev wrote:
> > I found similar module LazyModule.py in mxDATETIME and mxODBC.
> > Have you looked at it? Maybe the merge of two would be useful?
>
> I haven't looked into 'mxODBC', but since this is also from
> Marc-Andre Lemburg, I guess it is identical to the 'LazyImp.py', which
> is available "stand-alone". Yes: I had a look into it, and no
> I don't believe the two approaches can be merged very easy.
No, those two modules use a different logic: LazyModule.py
is a very light wheight module do achieve lazy imports,
while LazyModule.py is more like an example application
of my other ClassModule.py module which turns modules into real
Python classes with all their useful features.
--
Marc-Andre Lemburg
______________________________________________________________________
Business: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/