> Cool - thanks for fixing that.
>
> Just as a side note, could you comment on why some other things aren't
> accessible via templates -- things that start 'func' or 'im_'.  I got
> burned by the 'im_' one recently, and I'm curious what the reasoning
> might be.

One of the design requirements for templetor is being sandboxable so
that you can let untrusted users write templates. So templetor goes
over the syntax tree of the compiled code and makes sure that it has
only whitelisted nodes.

Here is the list of allowed nodes.

http://github.com/webpy/webpy/blob/master/web/template.py#L1079

Anand

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to