Hello Frédéric:

On Tue, 27 Jun 2006, Frédéric Gobry wrote:
> Out of fear that some other module might try to import mod_python
> before this one, and make the import trick fail.

I see.  Well, config does not import anything, so it sounded strange
to me to put it at the end.

Okay, I have now documented the import order there explicitly.
 
> A nicer way might be to normalize the way mod_python is imported, so
> that we have a single point to watch.

Yup.  

(Or we could switch to FastCGI at some point in time, so that we are
not limited by mod_python's import context anymore.  With FastCGI I
guess we should be able to use Emacs+IPython REPL to hack web apps
incrementally.  Anyway, too bad Python does not provide full dynamic
redefinition capabilities like Common Lisp.  That would make the
switch to FastCGI or the like extremely desirable.)

Best regards
-- 
Tibor Simko ** CERN IT-UDS ** Bldg 31-S-014 ** Voice: +41-22-7673527
CERN Document Server ** <http://cds.cern.ch/> ** <[email protected]>

Reply via email to