In the current python release (1.1.1) there is
a difference between modules written in python
and modules written in C:
If you write a new module in python you just copy
it into the lib or extend your PYTHONPATH, but if
you write your module in C, you must add the module
to the Setup file and recompile python, even if
you use dynamic loading.
(I am working on SUN OS 4.1.3 with python and so
there is dynamic loading available.)
Is this correct, or do I miss something ?
If I am right, why is there such a difference ?
To be compatible with systems lacking the ability
of dynamic loading ?
I do not look into the source code, but I guess that
it is possible to add a hook into the module search code
to dynamicly load on demand.
This would simplify the task of adding new extensions a lot !
--
Ciao, Olli
| Oliver Geisser * Steindruefft 11 * 33184 Altenbeken * Germany | | e-mail: ogeisser@uni-paderborn.de * Phone: 05255/7966 | | I prefer ASCII-Mail, but you can also send me NeXT-Mail |