A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023249.html below:

[Python-Dev] Adding Optik to 2.3 standard library

[Python-Dev] Adding Optik to 2.3 standard library [Python-Dev] Adding Optik to 2.3 standard libraryMichael McLay mjm42@comcast.net
Sun, 14 Apr 2002 23:21:06 -0400
On Sunday 14 April 2002 06:18 pm, Barry A. Warsaw wrote:
> >>>>> "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?

Pmw (Python Megawidgets, http://pmw.sourceforge.net/) has a lazy loader. It 
is loaded by __init__.py when the Pmw package is loaded. The loader is in 
Pmw/Pmw_0_8_5/lib/PmwLoader.py





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4