[Python-Dev] Adding Optik to 2.3 standard library
Barry A. Warsaw
barry@zope.com
Mon, 15 Apr 2002 09:19:39 -0400
>>>>> "AM" == Alex Martelli <aleax@aleax.it> writes:
AM> Wouldn't the same instance-as-module trick as in, e.g.
AM> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65207
AM> let you make a "module-with-__getattr__" to most
AM> intents&purposes?
Yes, nice. Okay, I'll work something up and submit it as a patch to
the Optik project on SF. Then Greg can fiddle with it and check it in
if he likes it.
>>>>> "MM" == Michael McLay <mjm42@comcast.net> writes:
MM> Pmw (Python Megawidgets, http://pmw.sourceforge.net/) has a
MM> lazy loader. It is loaded by __init__.py when the Pmw package
MM> is loaded. The loader is in Pmw/Pmw_0_8_5/lib/PmwLoader.py
Seems quite a bit more complicated than the recipe.
-Barry