Arbitrary python evaluation in entries etc

Toby Smithe <[email protected]> Fri, 5 Jun 2009 16:45:02 +0100
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
Hi,

I discussed on IRC the possibility of abstracting arbitrary python
execution as found in pystaticfile.py (eval_python_blocks) into the
core. This was rightly deemed a bad idea, and that the functionality
should go into a plugin. So, I took the code from pystaticfile, messed
it up, and put it in a plugin that will run over any rendered file. If
this is acceptable, the code in pystaticfile and pyinclude becomes
obsolete.

http://fulltinreality.com/dev/pyblosxom/python-entries.py

-- 
Toby Smithe :: http://fulltinreality.com

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get