[Python-Dev] Adding Optik to 2.3 standard library

Magnus Lie Hetland magnus@hetland.org
Mon, 15 Apr 2002 11:41:05 +0200


Barry A. Warsaw <barry@zope.com>:
>
> 
> >>>>> "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 :)

Well, you could always replace the module with an object that can...
:)

[snip]
> 
> -Barry

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org