Toby Smithe | 5 Jun 17:45
Picon

Arbitrary python evaluation in entries etc

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

Gmane