[albatross-users] mod_python and global namespace

Gregory Bond gnb at itga.com.au
Mon Dec 23 12:50:54 EST 2002


When running as a CGI, I can access the script global namespace from templates,
so I can do things like:
	<al-value expr="os.path">

Under mod_python(3.0.1), this doesn't work, and I have to import globals into 
ctx.locals to make them available.

Is this:
 - An inevitable consequence of using mod_python
 - Exploiting an unexpected bug in the CGI case
 - a bug in albatross.apacheapp
?







More information about the Albatross-users mailing list