Thanks for all the input and I suppose Marius' answer is the most 
straightforward solution. Perhaps I was expecting something a little more 
like Mike's "category" style implementation, but I can see how that could 
become "too much complexity for too little value."

With regards to the peek_flash method: If one is using a templating system 
that allows python code in the template logic, this would likely be 
unnecessary; but for templates that only give you basic stuff like loops, 
tests, and prints, the peek method is needed for truth testing and multiple 
"non-loop" prints (i.e. printing different key/value pairs as in Marius' 
example).

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to