A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-December/001743.html below:

Please test new dynamic load behavior

[Python-Dev] Re: Please test new dynamic load behaviorGreg Stein gstein@lyra.org
Thu, 23 Dec 1999 10:26:44 -0800 (PST)
On Thu, 23 Dec 1999, Harri Pasanen wrote:
> Greg Stein wrote:
> > Hi all,
> > 
> > I reorganized Python's dynamic load/import code over the past few days.
> > Gudio provided some feedback, I did some more mods, and now it is checked
> > into CVS. The new loading behavior has been tested on Linux, IRIX, and
> > Solaris (and probably Windows by now).
> 
> ...
> 
> What was the motivation behind this modification?

Harri -

With the new code structure, it is much easier to maintain Python's
loading code.

Each platform has its own file (e.g. dynload_aix.c) rather than being all
jammed together into importdl.c. This isn't a huge win by itself, but does
increase readability/maintainability. The big improvement, however, is
when you are adding support for new platforms or loading mechanisms. A new
dynload_*.c can be written and one line added to configure.in, and you're
done. No need to make importdl.c even uglier.  (actually, importdl.c no
longer contains *any* platform specific code; it has all been moved to the
dynload_*.c files)

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/




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