[Python-Dev] Adding Optik to 2.3 standard library (original) (raw)

Barry A. Warsaw barry@zope.com
Sun, 14 Apr 2002 18🔞01 -0400


"GvR" == Guido van Rossum <guido@python.org> writes:

GvR> To the contrary.  Only problem is how to prevent loading all
GvR> of optik when one imports getopt.getopt (and getopt.error).

Too bad modules can't have getattr's :)

Seriously, I wonder if it's time to write (or adopt) a general autoloading facility for Python?

-Barry