[mod_python] loading mod_python.apache module interactively

Gregory Bond gnb at itga.com.au
Thu May 6 13:21:31 EST 2004


grisha at modpython.org said:
> >If I wind up issuing the same import statement a second time, it
> works just
> >fine, and I can work interactively w/ the apache module and what not

> >
> This I find very surprising.....

> That's the way Python works - even though errors were raised in the
> process, mod_python.apache will be considered loaded. 

Well, well, well. I didn't know that.

But the point I did find surprising was that the OP "can work interactively w/
the apache module and what not" even if the second import succeeds.....  which
leads me to think he wasn't importing/testing what he thinks he was!




More information about the Mod_python mailing list